SimulcastConfig

Configure video streams of different quality levels.

public class SimulcastConfig {
  final public StreamLayerConfig[] configs = new StreamLayerConfig[StreamLayerIndex.STREAM_LAYER_COUNT_MAX.getValue()];
  public boolean publishFallbackEnable;
}
Since:
v.4.6.0.

Attributes

configs
Configurations for multi-layer streaming: StreamLayerConfig.
publishFallbackEnable
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.