DEGRADATION_PREFERENCE
Video degradation preference settings when bandwidth is limited.
Enumerations
- MAINTAIN_AUTO
- (-1): (Default) Auto mode. The SDK automatically selects
MAINTAIN_FRAMERATE,MAINTAIN_BALANCED, orMAINTAIN_RESOLUTIONbased on the video scenario to ensure optimal overall QoE. - MAINTAIN_QUALITY
- (0): When bandwidth is limited, prioritizes maintaining resolution by reducing frame rate. Suitable for scenarios requiring high video quality.
- MAINTAIN_FRAMERATE
- (1): When bandwidth is limited, prioritizes maintaining frame rate by reducing resolution.
- MAINTAIN_BALANCED
- (2): When bandwidth is limited, reduces both frame rate and resolution. The degradation level is lower than
MAINTAIN_QUALITYandMAINTAIN_FRAMERATE. Suitable for scenarios requiring both smoothness and video quality.Note: The resolution of the video sent from the sender may change, and the remote user needs to handle this. See onVideoSizeChanged. - MAINTAIN_RESOLUTION
- (3): When bandwidth is limited, prioritizes maintaining resolution by reducing frame rate. Suitable for scenarios requiring high video quality.
- DISABLED
- (100): Disables Video Quality Control (VQC) adjustment.