COMPRESSION_PREFERENCE

Compression preference for video encoding.

Since
v4.1.0

Enumerator

PREFER_LOW_LATENCY
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.
PREFER_QUALITY
1: (Default) High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.