CompressionPreference

Compression preference type for video encoding.

Enumerations

preferCompressionAuto
-1: (Default) Automatic mode. The SDK automatically selects preferLowLatency or preferQuality based on your video scenario to provide the best user experience.
preferLowLatency
0: Low latency preference. The SDK compresses video frames to reduce latency. This preference is suitable for scenarios where smoothness is prioritized and some quality loss is acceptable.
preferQuality
1: High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.