Package io.agora.rtc2
Enum Class Constants.VideoStreamType
- All Implemented Interfaces:
Serializable,Comparable<Constants.VideoStreamType>,Constable
- Enclosing class:
- Constants
The dual stream mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: The high-quality video stream, which has a highest resolution and bitrate.4: The video stream of layer_1, which has a lower resolution and bitrate than VIDEO_STREAM_HIGH.5: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1.6: The video stream of layer_3, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_2.7: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3.8: The video stream of layer_5, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_4.9: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5.1: The low-quality video stream, which has a lowest resolution and bitrate. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static Constants.VideoStreamTypeReturns the enum constant of this class with the specified name.static Constants.VideoStreamType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
VIDEO_STREAM_HIGH
0: The high-quality video stream, which has a highest resolution and bitrate. -
VIDEO_STREAM_LOW
1: The low-quality video stream, which has a lowest resolution and bitrate. -
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
5: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1. -
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
7: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3. -
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
9: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-