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 stream when the uplink/downlink network condition is unreliable. The quality of the stream is not guaranteed.

Declared In AgoraEnumerates.h.

AgoraStreamFallbackOptionVideoStreamLow

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

Declared In AgoraEnumerates.h.

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

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h