Package io.agora.rtc2

Enum Class SimulcastConfig.StreamLayerIndex

java.lang.Object
java.lang.Enum<SimulcastConfig.StreamLayerIndex>
io.agora.rtc2.SimulcastConfig.StreamLayerIndex
All Implemented Interfaces:
Serializable, Comparable<SimulcastConfig.StreamLayerIndex>, Constable
Enclosing class:
SimulcastConfig

public static enum SimulcastConfig.StreamLayerIndex extends Enum<SimulcastConfig.StreamLayerIndex>
The index of multi-layer video stream
  • Enum Constant Details

    • STREAM_LAYER_1

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_1
      0: The video stream of layer_1, which has a lower resolution and bitrate than STREAM_HIGH.
    • STREAM_LAYER_2

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_2
      1: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1.
    • STREAM_LAYER_3

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_3
      2: The video stream of layer_3, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_2.
    • STREAM_LAYER_4

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_4
      3: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3.
    • STREAM_LAYER_5

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_5
      4: The video stream of layer_5, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_4.
    • STREAM_LAYER_6

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_6
      5: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5.
    • STREAM_LOW

      public static final SimulcastConfig.StreamLayerIndex STREAM_LOW
      6: The low-quality video stream, which has the lowest resolution and bitrate.
    • STREAM_LAYER_COUNT_MAX

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_COUNT_MAX
      7: Max count of video stream layers
  • Method Details

    • values

      public static SimulcastConfig.StreamLayerIndex[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SimulcastConfig.StreamLayerIndex valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()