Package io.agora.rtc2
Enum Class SimulcastConfig.StreamLayerIndex
- All Implemented Interfaces:
Serializable,Comparable<SimulcastConfig.StreamLayerIndex>,Constable
- Enclosing class:
- SimulcastConfig
The index of multi-layer video stream
-
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 video stream of layer_1, which has a lower resolution and bitrate than STREAM_HIGH.1: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1.2: The video stream of layer_3, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_2.3: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3.4: The video stream of layer_5, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_4.5: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5.7: Max count of video stream layers6: The low-quality video stream, which has the lowest resolution and bitrate. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the enum constant of this class with the specified name.static SimulcastConfig.StreamLayerIndex[]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
-
STREAM_LAYER_1
0: The video stream of layer_1, which has a lower resolution and bitrate than STREAM_HIGH. -
STREAM_LAYER_2
1: The video stream of layer_2, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_1. -
STREAM_LAYER_3
2: The video stream of layer_3, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_2. -
STREAM_LAYER_4
3: The video stream of layer_4, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_3. -
STREAM_LAYER_5
4: The video stream of layer_5, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_4. -
STREAM_LAYER_6
5: The video stream of layer_6, which has a lower resolution and bitrate than VIDEO_STREAM_LAYER_5. -
STREAM_LOW
6: The low-quality video stream, which has the lowest resolution and bitrate. -
STREAM_LAYER_COUNT_MAX
7: Max count of video stream layers
-
-
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()
-