Package com.amazonaws.ivs.broadcast
Enum BroadcastConfiguration.AutomaticBitrateProfile
- java.lang.Object
-
- java.lang.Enum<BroadcastConfiguration.AutomaticBitrateProfile>
-
- com.amazonaws.ivs.broadcast.BroadcastConfiguration.AutomaticBitrateProfile
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BroadcastConfiguration.AutomaticBitrateProfile>
- Enclosing class:
- BroadcastConfiguration
public static enum BroadcastConfiguration.AutomaticBitrateProfile extends java.lang.Enum<BroadcastConfiguration.AutomaticBitrateProfile>
Profiles for the automatic video bitrate behavior.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSERVATIVE
This profile is conservative in how it ramps up the bitrate when the network health is good, but fast to drop the bitrate when network health is bad.FAST_INCREASE
This profile is fast to ramp up the bitrate when the network health is good, and fast to drop the bitrate when network health is bad.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BroadcastConfiguration.AutomaticBitrateProfile
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BroadcastConfiguration.AutomaticBitrateProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSERVATIVE
public static final BroadcastConfiguration.AutomaticBitrateProfile CONSERVATIVE
This profile is conservative in how it ramps up the bitrate when the network health is good, but fast to drop the bitrate when network health is bad. This leads to slow recovery times after congestion, but the bitrate will be more stable.
-
FAST_INCREASE
public static final BroadcastConfiguration.AutomaticBitrateProfile FAST_INCREASE
This profile is fast to ramp up the bitrate when the network health is good, and fast to drop the bitrate when network health is bad. This will lead to quicker recoveries towards the maximum bitrate after congestion, but could result in congestion being detected more frequently as a result of probing above the available bandwidth.
-
-
Method Detail
-
values
public static BroadcastConfiguration.AutomaticBitrateProfile[] 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 (BroadcastConfiguration.AutomaticBitrateProfile c : BroadcastConfiguration.AutomaticBitrateProfile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BroadcastConfiguration.AutomaticBitrateProfile 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
-
-