videoResolution property
Field description: video resolution
Recommended value
- For video call, we recommend you select a resolution of 360x640 or below and select
Portrait
forresMode
. - For mobile live streaming, we recommend you select a resolution of 540x960 and select
Portrait
forresMode
. - For Windows and macOS, we recommend you select a resolution of 640x360 or above and select
Landscape
forresMode
.
Note
TRTCVideoResolution
supports only the landscape resolution by default, such as 640x360.
To use a portrait resolution, please specify resMode
as Portrait
; for example, when used together with Portrait
, 640x360 will become 360x640.
Default value: TRTCCloudDef.TRTC_VIDEO_RESOLUTION_480_360
Implementation
int videoResolution;