Enumeration CompressionPreference

Compression preference for video encoding.

Enumeration Members

PreferCompressionAuto: -1

-1: (Default) Automatic mode. The SDK will automatically select PreferLowLatency or PreferQuality based on the video scenario you set to achieve the best user experience.

PreferLowLatency: 0

0: Low latency preference. The SDK compresses video frames to reduce latency. This preference is suitable for scenarios where smoothness is prioritized and reduced video quality is acceptable.

PreferQuality: 1

1: High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.

Generated using TypeDoc