|
Agora RTC Objective-C API Reference
Refactor
|
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] |
| bool | publish_fallback_enable |
The configuration of the multi-layer video stream.
| enum StreamLayerIndex |
The index of multi-layer video stream
|
inline |
| StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX] |
The array of StreamLayerConfig, which contains STREAM_LAYER_COUNT_MAX layers of video stream at most.
| bool publish_fallback_enable |
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.
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.