AgoraDegradationPreference 常量

Declared in AgoraEnumerates.h

AgoraDegradationPreference

带宽受限时的视频编码降级偏好

Definition

typedef NS_ENUM(NSInteger, AgoraDegradationPreference ) {
   AgoraDegradationMaintainQuality = 0,
   AgoraDegradationMaintainFramerate = 1,
   AgoraDegradationBalanced = 2,
};

Constants

AgoraDegradationMaintainQuality

(默认)带宽受限时,视频编码时优先降低视频帧率,维持视频质量不变。该降级偏好适用于画质优先的场景。

Declared In AgoraEnumerates.h.

AgoraDegradationMaintainFramerate

带宽受限时,视频编码时优先降低视频质量,维持视频帧率不变。该降级偏好适用于流畅性优先且允许画质降低的场景。

Declared In AgoraEnumerates.h.

AgoraDegradationBalanced

带宽受限时,视频编码时同时降低视频帧率和视频质量。AgoraDegradationBalanced 降幅比 AgoraDegradationMaintainQualityAgoraDegradationMaintainFramerate 降幅更低,适用于流畅性和画质均优先的场景。

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h