Package io.agora.rtc2

Class SimulcastConfig

java.lang.Object
io.agora.rtc2.SimulcastConfig

public class SimulcastConfig extends Object
The configuration of the multi-layer video stream.
Since:
v4.6.0
  • Field Details

    • configs

      public final SimulcastConfig.StreamLayerConfig[] configs
      The array of StreamLayerConfig, which contains STREAM_LAYER_COUNT_MAX layers of video stream at most.
    • publishFallbackEnable

      public boolean 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.
  • Constructor Details

    • SimulcastConfig

      public SimulcastConfig()