Package com.amazonaws.ivs.broadcast
Enum TransmissionStats.BroadcastQuality
- java.lang.Object
-
- java.lang.Enum<TransmissionStats.BroadcastQuality>
-
- com.amazonaws.ivs.broadcast.TransmissionStats.BroadcastQuality
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransmissionStats.BroadcastQuality>
- Enclosing class:
- TransmissionStats
public static enum TransmissionStats.BroadcastQuality extends java.lang.Enum<TransmissionStats.BroadcastQuality>
BroadcastQuality represents the quality of the stream based on the bitrate minimum and maximum provided on session configuration. NEAR_MINIMUM means the stream is near the lowest possible quality (the configured minimum bitrate), or streaming is not possible at all. NEAR_MAXIMUM means the bitrate is near the maximum allowed (the configured maximum bitrate). If the video configuration looks like: initial bitrate = 1000 kbps minimum bitrate = 300 kbps maximum bitrate = 5,000 kbps It will be expected that a NEAR_MINIMUM quality is provided to this callback initially, since the initial bitrate is much closer to the minimum allowed bitrate than the maximum. If network conditions are good, the quality should improve over time towards NEAR_MAXIMUM.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGH
LOW
MEDIUM
NEAR_MAXIMUM
NEAR_MINIMUM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransmissionStats.BroadcastQuality
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransmissionStats.BroadcastQuality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEAR_MAXIMUM
public static final TransmissionStats.BroadcastQuality NEAR_MAXIMUM
-
HIGH
public static final TransmissionStats.BroadcastQuality HIGH
-
MEDIUM
public static final TransmissionStats.BroadcastQuality MEDIUM
-
LOW
public static final TransmissionStats.BroadcastQuality LOW
-
NEAR_MINIMUM
public static final TransmissionStats.BroadcastQuality NEAR_MINIMUM
-
-
Method Detail
-
values
public static TransmissionStats.BroadcastQuality[] 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 (TransmissionStats.BroadcastQuality c : TransmissionStats.BroadcastQuality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransmissionStats.BroadcastQuality 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
-
-