AgoraStreamFallbackOptions Constants Reference

Declared in AgoraEnumerates.h

AgoraStreamFallbackOptions

Stream fallback option.

Definition

typedef NS_ENUM(NSInteger, AgoraStreamFallbackOptions ) {
   AgoraStreamFallbackOptionDisabled = 0,
   AgoraStreamFallbackOptionVideoStreamLow = 1,
   AgoraStreamFallbackOptionAudioOnly = 2,
};

Constants

AgoraStreamFallbackOptionDisabled

No fallback behavior for the local/remote video stream when the uplink/downlink network condition is unreliable. The quality of the stream is not guaranteed.

Declared In AgoraEnumerates.h.

AgoraStreamFallbackOptionVideoStreamLow

Under unreliable downlink network conditions, the remote video stream falls back to the low-stream (low resolution and low bitrate) video. You can only set this option in the setRemoteSubscribeFallbackOption method. Nothing happens when you set this in the setLocalPublishFallbackOption method.

Declared In AgoraEnumerates.h.

AgoraStreamFallbackOptionAudioOnly

Under unreliable uplink network conditions, the published video stream falls back to audio only. Under unreliable downlink network conditions, the remote video stream first falls back to the low-stream (low resolution and low bitrate) video; and then to an audio-only stream if the network condition deteriorates.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h