# CompressionPrefence (/zh-CN/api-reference/rtc/harmonyos/enum-compressionpreference) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 枚举值 [#枚举值] 0: 低延时偏好。SDK 会对视频帧进行压缩处理,以降低延时。该偏好适用于流畅性优先且允许画质降低的场景。 1:(默认)高质量偏好。SDK 会对视频帧进行压缩处理,同时保持视频质量。该偏好适用于画质优先的场景。