Agora RTC Objective-C API Reference Refactor

Data Structures | Public Types | Data Fields
SimulcastConfig Struct Reference

## Data Structures
struct | StreamLayerConfig

## Public Types
enum | StreamLayerIndex { STREAM_LAYER_1 = 0, STREAM_LAYER_2 = 1, STREAM_LAYER_3 = 2, STREAM_LAYER_4 = 3, STREAM_LAYER_5 = 4, STREAM_LAYER_6 = 5, STREAM_LOW = 6, STREAM_LAYER_COUNT_MAX = 7 }

## Data Fields
StreamLayerConfig | configs [STREAM_LAYER_COUNT_MAX]

## Detailed Description

The configuration of the multi-layer video stream.

## Member Enumeration Documentation

## ◆ StreamLayerIndex

enum StreamLayerIndex

The index of multi-layer video stream

Enumerator
STREAM_LAYER_1 | 0: video stream index of layer_1
STREAM_LAYER_2 | 1: video stream index of layer_2
STREAM_LAYER_3 | 2: video stream index of layer_3
STREAM_LAYER_4 | 3: video stream index of layer_4
STREAM_LAYER_5 | 4: video stream index of layer_5
STREAM_LAYER_6 | 5: video stream index of layer_6
STREAM_LOW | 6: video stream index of low
STREAM_LAYER_COUNT_MAX | 7: max count of video stream layers

## Field Documentation

## ◆ configs

StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX]

The array of StreamLayerConfig, which contains STREAM_LAYER_COUNT_MAX layers of video stream at most.