Package io.agora.rtc2
Enum Class SimulcastConfig.StreamLayerIndex
- All Implemented Interfaces:
Serializable,Comparable<SimulcastConfig.StreamLayerIndex>,Constable
- Enclosing class:
- SimulcastConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: Video stream layer_1, with lower resolution and bitrate than VIDEO_STREAM_HIGH.1: Video stream layer_2, with lower resolution and bitrate than VIDEO_STREAM_LAYER_1.2: Video stream layer_3, with lower resolution and bitrate than VIDEO_STREAM_LAYER_2.3: Video stream layer_4, with lower resolution and bitrate than VIDEO_STREAM_LAYER_3.4: Video stream layer_5, with lower resolution and bitrate than VIDEO_STREAM_LAYER_4.5: Video stream layer_6, with lower resolution and bitrate than VIDEO_STREAM_LAYER_5.7: Maximum number of video stream layers.6: Low-quality video stream, with 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: Video stream layer_1, with lower resolution and bitrate than VIDEO_STREAM_HIGH. -
STREAM_LAYER_2
1: Video stream layer_2, with lower resolution and bitrate than VIDEO_STREAM_LAYER_1. -
STREAM_LAYER_3
2: Video stream layer_3, with lower resolution and bitrate than VIDEO_STREAM_LAYER_2. -
STREAM_LAYER_4
3: Video stream layer_4, with lower resolution and bitrate than VIDEO_STREAM_LAYER_3. -
STREAM_LAYER_5
4: Video stream layer_5, with lower resolution and bitrate than VIDEO_STREAM_LAYER_4. -
STREAM_LAYER_6
5: Video stream layer_6, with lower resolution and bitrate than VIDEO_STREAM_LAYER_5. -
STREAM_LOW
6: Low-quality video stream, with the lowest resolution and bitrate. -
STREAM_LAYER_COUNT_MAX
7: Maximum number 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()
-