COMPRESSION_PREFERENCE

Compression preference type for video encoding.

Enumerations

PREFER_COMPRESSION_AUTO
-1: (Default) Auto mode. The SDK automatically selects PREFER_LOW_LATENCY or PREFER_QUALITY based on your video scenario settings to provide the best user experience.
PREFER_LOW_LATENCY
0: Low latency preference. The SDK compresses video frames to reduce latency. This is suitable for scenarios where smoothness is prioritized over quality.
PREFER_QUALITY
1: High quality preference. The SDK compresses video frames while maintaining video quality. This is suitable for scenarios where video quality is prioritized.