Package io.agora.rtc2
Enum Class Constants.VideoStreamType
- All Implemented Interfaces:
Serializable,Comparable<Constants.VideoStreamType>,Constable
- Enclosing class:
- Constants
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: High-quality video stream, that is, a video stream with the highest resolution and bitrate.4.5: Video stream layer 2.6: Video stream layer 3.7: Video stream layer 4.8: Video stream layer 5.9: Video stream layer 6.1: Low-quality video stream, that is, a video stream with the 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: High-quality video stream, that is, a video stream with the highest resolution and bitrate. -
VIDEO_STREAM_LOW
1: Low-quality video stream, that is, a video stream with the lowest resolution and bitrate. -
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
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
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
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
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
9: Video stream layer 6. The resolution of this quality level is only lower than that of 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()
-