CompressionPreference
Compression preference types for video encoding.
Enumerations
- PreferCompressionAuto
- -1: (Default) Auto mode. The SDK automatically selects
PreferLowLatencyorPreferQualitybased on the video scenario you set 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 a priority.