CompressionPreference
Compression preference type for video encoding.
Enumerations
- PreferCompressionAuto
- -1: (Default) Automatic mode. The SDK automatically selects
PreferLowLatencyorPreferQualitybased on your video scenario to provide the best user experience. - PreferLowLatency
- 0: Low latency preference. The SDK compresses video frames to reduce latency. 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. Suitable for scenarios where video quality is prioritized.