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>
  • Enum Constant Details

    • STREAM_LAYER_1

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_1
      0: Video stream layer_1, with lower resolution and bitrate than VIDEO_STREAM_HIGH.
    • STREAM_LAYER_2

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_2
      1: Video stream layer_2, with lower resolution and bitrate than VIDEO_STREAM_LAYER_1.
    • STREAM_LAYER_3

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_3
      2: Video stream layer_3, with lower resolution and bitrate than VIDEO_STREAM_LAYER_2.
    • STREAM_LAYER_4

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_4
      3: Video stream layer_4, with lower resolution and bitrate than VIDEO_STREAM_LAYER_3.
    • STREAM_LAYER_5

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_5
      4: Video stream layer_5, with lower resolution and bitrate than VIDEO_STREAM_LAYER_4.
    • STREAM_LAYER_6

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_6
      5: Video stream layer_6, with lower resolution and bitrate than VIDEO_STREAM_LAYER_5.
    • STREAM_LOW

      public static final SimulcastConfig.StreamLayerIndex STREAM_LOW
      6: Low-quality video stream, with the lowest resolution and bitrate.
    • STREAM_LAYER_COUNT_MAX

      public static final SimulcastConfig.StreamLayerIndex STREAM_LAYER_COUNT_MAX
      7: Maximum number 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()