Agora Java API Reference for Android
Classes | Public Attributes | List of all members
io.agora.rtc2.SimulcastConfig Class Reference

Classes

class  StreamLayerConfig
 
enum  StreamLayerIndex
 

Public Attributes

final StreamLayerConfig[] configs
 
boolean publishFallbackEnable
 

Detailed Description

The configuration of the multi-layer video stream.

Since
v4.6.0

Member Data Documentation

◆ configs

final StreamLayerConfig [] io.agora.rtc2.SimulcastConfig.configs
Initial value:
=
new StreamLayerConfig[StreamLayerIndex.STREAM_LAYER_COUNT_MAX.getValue()]

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

◆ publishFallbackEnable

boolean io.agora.rtc2.SimulcastConfig.publishFallbackEnable

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.

  • true: Enable fallback publishing.
  • false: (Default) Disable fallback publishing.

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.