Package im.zego.zegoexpress.constants
Enum ZegoTrafficControlMinVideoBitrateMode
- java.lang.Object
-
- java.lang.Enum<ZegoTrafficControlMinVideoBitrateMode>
-
- im.zego.zegoexpress.constants.ZegoTrafficControlMinVideoBitrateMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoTrafficControlMinVideoBitrateMode>
public enum ZegoTrafficControlMinVideoBitrateMode extends java.lang.Enum<ZegoTrafficControlMinVideoBitrateMode>
Video transmission mode when current bitrate is lower than the set minimum bitrate.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_VIDEO
Stop video transmission when current bitrate is lower than the set minimum bitrateULTRA_LOW_FPS
Video is sent at a very low frequency (no more than 2fps) which is lower than the set minimum bitrate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoTrafficControlMinVideoBitrateMode
getZegoTrafficControlMinVideoBitrateMode(int value)
int
value()
static ZegoTrafficControlMinVideoBitrateMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoTrafficControlMinVideoBitrateMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_VIDEO
public static final ZegoTrafficControlMinVideoBitrateMode NO_VIDEO
Stop video transmission when current bitrate is lower than the set minimum bitrate
-
ULTRA_LOW_FPS
public static final ZegoTrafficControlMinVideoBitrateMode ULTRA_LOW_FPS
Video is sent at a very low frequency (no more than 2fps) which is lower than the set minimum bitrate
-
-
Method Detail
-
values
public static ZegoTrafficControlMinVideoBitrateMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoTrafficControlMinVideoBitrateMode c : ZegoTrafficControlMinVideoBitrateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoTrafficControlMinVideoBitrateMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
getZegoTrafficControlMinVideoBitrateMode
public static ZegoTrafficControlMinVideoBitrateMode getZegoTrafficControlMinVideoBitrateMode(int value)
-
-