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 and Portrait is selected for resMode, then the final output resolution after encoding will be 360x640.
Default value: TRTCCloudDef.TRTC_VIDEO_RESOLUTION_MODE_PORTRAIT
Implementation
int videoResolutionMode;