videoResolutionMode property
getter/setter pair
- Field description: resolution mode (landscape/portrait)
- Recommended value: for mobile live streaming,
Portrait
is recommended; for Windows and macOS,Landscape
is recommended. - Note: if 640x360 resolution is selected for
videoResolution
andPortrait
is selected forresMode
, then the final output resolution after encoding will be 360x640. - Default value: TRTCVideoResolutionMode.portrait
Implementation
TRTCVideoResolutionMode videoResolutionMode;