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

    • VIDEO_STREAM_HIGH

      public static final Constants.VideoStreamType VIDEO_STREAM_HIGH
      0: High-quality video stream, that is, a video stream with the highest resolution and bitrate.
    • VIDEO_STREAM_LOW

      public static final Constants.VideoStreamType VIDEO_STREAM_LOW
      1: Low-quality video stream, that is, a video stream with the lowest resolution and bitrate.
    • VIDEO_STREAM_LAYER_1

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_1
      4. Video stream layer 1. The resolution of this quality level is only lower than that of VIDEO_STREAM_HIGH.
    • VIDEO_STREAM_LAYER_2

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_2
      5: Video stream layer 2. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_1.
    • VIDEO_STREAM_LAYER_3

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_3
      6: Video stream layer 3. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_2.
    • VIDEO_STREAM_LAYER_4

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_4
      7: Video stream layer 4. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_3.
    • VIDEO_STREAM_LAYER_5

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_5
      8: Video stream layer 5. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_4.
    • VIDEO_STREAM_LAYER_6

      public static final Constants.VideoStreamType VIDEO_STREAM_LAYER_6
      9: Video stream layer 6. The resolution of this quality level is only lower than that of 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()