Package com.amazonaws.ivs.broadcast
Enum Class TransmissionStats.BroadcastQuality
java.lang.Object
java.lang.Enum<TransmissionStats.BroadcastQuality>
com.amazonaws.ivs.broadcast.TransmissionStats.BroadcastQuality
- All Implemented Interfaces:
Serializable
,Comparable<TransmissionStats.BroadcastQuality>
,Constable
- Enclosing class:
TransmissionStats
public static enum TransmissionStats.BroadcastQuality
extends 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TransmissionStats.BroadcastQuality[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEAR_MAXIMUM
-
HIGH
-
MEDIUM
-
LOW
-
NEAR_MINIMUM
-
-
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
-