com.adobe.mediacore
Enum ABRControlParameters.ABRPolicy
java.lang.Object
java.lang.Enum<ABRControlParameters.ABRPolicy>
com.adobe.mediacore.ABRControlParameters.ABRPolicy
- All Implemented Interfaces:
- Serializable, Comparable<ABRControlParameters.ABRPolicy>
- Enclosing class:
- ABRControlParameters
public static enum ABRControlParameters.ABRPolicy
- extends Enum<ABRControlParameters.ABRPolicy>
Enumeration for the supported bit-rate switching policies:
- ABR_CONSERVATIVE - Starts at lowest BW, steps up automatically when available BW is 50% more than required BW for step-up.
- ABR_MODERATE - Starts at the median BW, steps up automatically when available BW is 20% more than required BW for step-up.
- ABR_AGGRESSIVE - Starts at the highest BW, steps up automatically whenever possible.
ABR_CONSERVATIVE
public static final ABRControlParameters.ABRPolicy ABR_CONSERVATIVE
ABR_MODERATE
public static final ABRControlParameters.ABRPolicy ABR_MODERATE
ABR_AGGRESSIVE
public static final ABRControlParameters.ABRPolicy ABR_AGGRESSIVE
values
public static ABRControlParameters.ABRPolicy[] 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 (ABRControlParameters.ABRPolicy c : ABRControlParameters.ABRPolicy.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ABRControlParameters.ABRPolicy valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getValue
public int getValue()