COMPRESSION_PREFERENCE
Compression preference for video encoding.
Enumerations
- PREFER_COMPRESSION_AUTO
- (-1): (Default) Auto mode. The SDK automatically selects
PREFER_LOW_LATENCYorPREFER_QUALITYbased on the video scenario to achieve the best user experience. - PREFER_LOW_LATENCY
- (0): Low latency preferred. The SDK compresses video frames to reduce latency, suitable for scenarios requiring smoothness and tolerating lower quality.
- PREFER_QUALITY
- (1): High quality preferred. The SDK compresses video frames while maintaining video quality, suitable for scenarios with high quality requirements.