|
Agora Java API Reference for Android
|
#include <AgoraBase.h>
Classes | |
| 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 } |
Public Attributes | |
| StreamLayerConfig | configs [STREAM_LAYER_COUNT_MAX] |
| bool | publish_fallback_enable |
The configuration of the multi-layer video stream.
The index of multi-layer video stream
| StreamLayerConfig agora::rtc::SimulcastConfig::configs[STREAM_LAYER_COUNT_MAX] |
The array of StreamLayerConfig, which contains STREAM_LAYER_COUNT_MAX layers of video stream at most.
| bool agora::rtc::SimulcastConfig::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.
1.8.18