• Skip to Search
  • Skip to Content
  • Skip to Side Navigation
Quick StartSDK ReferenceGlossary
  • Home
  • Quick Start
  • Integration Guides
  • SDK Reference
  • Portal
  • How-To
  • Troubleshooting
  • FAQs
  • Reference
  • Glossary
How-To Guides
  • API Usage Overview
  • Artificially lower bandwidth or bitrate
  • Set up publishing or subscribing for only audio or only video
  • Set up High Availability
  • Manage State Transitions
  • Optimal RTMP encoder settings
  • Find your stream key
  • Record streams for VOD playback
  • View and download VOD assets
  • Publish modified video (frameReady)
  • Display multiple copies of the same stream
  • Find the video dimension of the stream
  • Measure timing
  • Create test input
  • Verify encoder ability to contribute via UDP
  • Manage issues with installing Phenix SDKs
  • Work with timestamps in reports
  • Work with corporate firewalls
  • Set up ad insertion
  • Use closed captions in the Phenix system
  • Publish stereo
  • Set up and use replay
  • Change Aspect Ratio
  • Publish with iOS Audio Pipelines

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 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:

  • Web

  • Android

  • iOS

Page Content
    Copyright 2025 © Phenix RTS
    Privacy Policy | Terms of Service
    v2025-03-24T21:12:24.000Z