COMPRESSION_PREFERENCE

Compression preference for video encoding.

Enumerations

PREFER_COMPRESSION_AUTO
(-1): (Default) Auto mode. The SDK automatically selects PREFER_LOW_LATENCY or PREFER_QUALITY based on the video scenario to ensure optimal user experience.
PREFER_LOW_LATENCY
(0): Low latency priority. The SDK compresses video frames to reduce latency. Suitable for scenarios requiring high smoothness and can tolerate reduced video quality.
PREFER_QUALITY
(1): High quality priority. The SDK compresses video frames while maintaining video quality. Suitable for scenarios requiring high video quality.