DEGRADATION_PREFERENCE
Video degradation preference when bandwidth is limited.
Enumerations
- MAINTAIN_AUTO
- (-1): Auto mode (default). The SDK automatically selects
MAINTAIN_FRAMERATE,MAINTAIN_BALANCED, orMAINTAIN_RESOLUTIONbased on the video scenario to achieve optimal overall QoE. - MAINTAIN_QUALITY
- (0): In bandwidth-limited encoding, prioritizes lowering frame rate to maintain resolution. Suitable for scenarios requiring high image quality.
- MAINTAIN_FRAMERATE
- (1): In bandwidth-limited encoding, prioritizes lowering resolution to maintain frame rate. Suitable for scenarios requiring smoothness and tolerating quality loss.
- MAINTAIN_BALANCED
- (2): In bandwidth-limited encoding, lowers both frame rate and resolution. Degradation is less than
MAINTAIN_QUALITYandMAINTAIN_FRAMERATE, suitable for scenarios requiring both smoothness and quality.Note: The resolution of the video sent may change. Remote users need to handle this. See onVideoSizeChanged for details and resolution suggestions. - MAINTAIN_RESOLUTION
- (3): In bandwidth-limited encoding, prioritizes lowering frame rate to maintain resolution. Suitable for scenarios requiring high image quality.
- DISABLED
- (100): Disables VQC adjustment.