Find the video dimension of the stream

How do I listen for the video dimensions so I can adjust my UX?

Is there a way to know what's the resolution/dimension of the current stream?

To determine the video dimensions, e.g., to see if the streaming source is landscape or portrait mode, register a handler for the renderer.setVideoDisplayDimensionsChangedCallback. This API is described at the following URLs for the Phenix SDKs:

 

©2020-2021 Phenix Real Time Solutions, Inc.