Agora RTC Objective-C API Reference  Refactor
Properties
AgoraSimulcastConfig Class Reference

Inherits <NSObject>.

Properties

NSArray< AgoraStreamLayerConfig * > *_Nonnull configs
 
BOOL publishFallbackEnable
 

Detailed Description

The configuration of the multi-layer video stream.

Since
v4.6.0

Property Documentation

◆ configs

- (NSArray<AgoraStreamLayerConfig*>* _Nonnull) configs
readnonatomiccopy

The array of AgoraStreamLayerConfig, which contains AgoraStreamLayerCountMax layers of video stream at most.

◆ publishFallbackEnable

- (BOOL) publishFallbackEnable
readwritenonatomicassign

Whether to enable fallback publishing. When set to true, it allows dynamic disabling of multiple streams when the performance or network of the publishing end is poor. The order of disabling is layer1->layer6.

  • true: Enable fallback publishing.
  • false: (Default) Disable fallback publishing.

The system guarantees that even under poor network conditions or limited device capabilities, at least the major stream and lowest-resolution minor stream will be maintained for basic video continuity.