Agora RTC Objective-C API Reference Refactor

Data Structures | Data Fields
SimulcastConfig Struct Reference

## Data Structures
struct | StreamLayerConfig

## Data Fields
StreamLayerConfig | configs [STREAM_LAYER_COUNT_MAX]
bool | publish_fallback_enable

## Detailed Description

Since
  v4.6.0

## Member Enumeration Documentation

## ◆ StreamLayerIndex

enum StreamLayerIndex

Index of video streams of different quality levels.

Enumerator
STREAM_LAYER_1 | （0）: Video stream layer_1, with lower resolution and bitrate than VIDEO_STREAM_HIGH.
STREAM_LAYER_2 | （1）: Video stream layer_2, with lower resolution and bitrate than VIDEO_STREAM_LAYER_1.
STREAM_LAYER_3 | （2）: Video stream layer_3, with lower resolution and bitrate than VIDEO_STREAM_LAYER_2.
STREAM_LAYER_4 | （3）: Video stream layer_4, with lower resolution and bitrate than VIDEO_STREAM_LAYER_3.
STREAM_LAYER_5 | （4）: Video stream layer_5, with lower resolution and bitrate than VIDEO_STREAM_LAYER_4.
STREAM_LAYER_6 | （5）: Video stream layer_6, with lower resolution and bitrate than VIDEO_STREAM_LAYER_5.
STREAM_LOW | （6）: Low-quality video stream, with the lowest resolution and bitrate.
STREAM_LAYER_COUNT_MAX | （7）: Maximum number of video stream layers.

## Constructor & Destructor Documentation

## ◆ SimulcastConfig()

SimulcastConfig | ( |  | ) |
| inline

## Field Documentation

## ◆ configs

StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX]

Configurations for multi-layer streaming: `StreamLayerConfig`.

## ◆ publish_fallback_enable

bool publish_fallback_enable

Whether to enable fallback publishing:

- `true`: Enable fallback publishing. When the device performance or network is poor at the publishing end, the SDK will dynamically disable multiple video streams of different quality levels, from layer1 to layer6. At least the video streams of the highest and lowest quality are retained to maintain basic video continuity.
- `false`: (Default) Disable fallback publishing.