AgoraSuperResolutionStateReason Constants Reference

Declared in AgoraEnumerates.h
Availability v3.5.1

AgoraSuperResolutionStateReason

The reason why super resolution is not successfully enabled or the message that confirms success.

Definition

typedef NS_ENUM(NSUInteger, AgoraSuperResolutionStateReason ) {
   AgoraSRStateReasonSuccess = 0,
   AgoraSRStateReasonStreamOverLimitation = 1,
   AgoraSRStateReasonUserCountOverLimitation = 2,
   AgoraSRStateReasonDeviceNotSupported = 3,
   AgoraSRStateReasonInsufficientPerformance = 4,
};

Constants

AgoraSRStateReasonSuccess

0: Super resolution is successfully enabled.

Declared In AgoraEnumerates.h.

AgoraSRStateReasonStreamOverLimitation

1: The original resolution of the remote video is beyond the range where super resolution can be applied.

Declared In AgoraEnumerates.h.

AgoraSRStateReasonUserCountOverLimitation

2: Super resolution is already being used to boost another remote user’s video.

Declared In AgoraEnumerates.h.

AgoraSRStateReasonDeviceNotSupported

3: The device does not support using super resolution.

Declared In AgoraEnumerates.h.

AgoraSRStateReasonInsufficientPerformance

4: When the super resolution feature is enabled or is running, the SDK detects that device performance is not qualified. When you receive this reason code, Agora recommends that the user disable super resolution.

Available in v3.7.1

Declared In AgoraEnumerates.h.

Availability

v3.5.1

Declared In

AgoraEnumerates.h