Package io.agora.rtc2

Enum Class Constants.VideoStreamType

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

public static enum Constants.VideoStreamType extends Enum<Constants.VideoStreamType>
The dual stream mode
  • Enum Constant Details

    • VIDEO_STREAM_HIGH

      public static final Constants.VideoStreamType VIDEO_STREAM_HIGH
      0: The high-quality video stream, which has a highest resolution and bitrate.
    • VIDEO_STREAM_LOW

      public static final Constants.VideoStreamType VIDEO_STREAM_LOW
      1: The low-quality video stream, which has a lowest resolution and bitrate.
    • VIDEO_STREAM_LAYER_1

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_1
      4: The video stream of layer_1, which has a lower resolution and bitrate than VIDEO_STREAM_HIGH.
    • VIDEO_STREAM_LAYER_2

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_2
      5: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1.
    • VIDEO_STREAM_LAYER_3

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_3
      6: The video stream of layer_3, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_2.
    • VIDEO_STREAM_LAYER_4

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_4
      7: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3.
    • VIDEO_STREAM_LAYER_5

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_5
      8: The video stream of layer_5, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_4.
    • VIDEO_STREAM_LAYER_6

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_6
      9: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5.
  • Method Details

    • values

      public static Constants.VideoStreamType[] 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 Constants.VideoStreamType 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()