AgoraDegradationPreference Constants Reference

Declared in AgoraEnumerates.h

AgoraDegradationPreference

The video encoding degradation preference under limited bandwidth.

Definition

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

Constants

AgoraDegradationMaintainQuality

(Default) Prefers to reduce the video frame rate while maintaining video quality during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where video quality is prioritized.

Declared In AgoraEnumerates.h.

AgoraDegradationMaintainFramerate

Prefers to reduce the video quality while maintaining the video frame rate during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where smoothness is prioritized and video quality is allowed to be reduced.

Declared In AgoraEnumerates.h.

AgoraDegradationBalanced

Reduces the video frame rate and video quality simultaneously during video encoding under limited bandwidth. AgoraDegradationBalanced has a lower reduction than AgoraDegradationMaintainQuality and AgoraDegradationMaintainFramerate, and this preference is suitable for scenarios where both smoothness and video quality are a priority.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h