enableAdjustRes property

bool enableAdjustRes
getter/setter pair
  • Field description: whether resolution adjustment is allowed
  • Recommended value
    • For mobile live streaming, false is recommended.
    • For video call, if smoothness is of higher priority, true is recommended. In this case, if the network bandwidth is limited, the SDK will automatically reduce the resolution to ensure better smoothness (only valid for TRTCVideoStreamTypeBig).
    • Default value: false.
  • Note: when recording is needed, if true is selected, please make sure that the resolution adjustment will not affect the recording effect during the call.

Implementation

bool enableAdjustRes;