|
Agora Java API Reference for Android
|
Configure video streams of different quality levels. More...
#include <AgoraBase.h>
Classes | |
| struct | StreamLayerConfig |
| Configures the parameters of a specific layer in multi-quality video streams. @technical preview. More... | |
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 } |
| Index of video streams of different quality levels. @technical preview. More... | |
Public Attributes | |
| StreamLayerConfig | configs [STREAM_LAYER_COUNT_MAX] |
| bool | publish_fallback_enable |
Configure video streams of different quality levels.
@technical preview
Index of video streams of different quality levels. @technical preview.
| StreamLayerConfig agora::rtc::SimulcastConfig::configs[STREAM_LAYER_COUNT_MAX] |
Configurations for multi-layer streaming: StreamLayerConfig.
| bool agora::rtc::SimulcastConfig::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.
1.8.18