Package tvi.webrtc
Enum Class RtpParameters.DegradationPreference
- All Implemented Interfaces:
Serializable
,Comparable<RtpParameters.DegradationPreference>
,Constable
- Enclosing class:
- RtpParameters
public static enum RtpParameters.DegradationPreference
extends Enum<RtpParameters.DegradationPreference>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDegrade a balance of framerate and resolution.Does not degrade resolution or framerate.Degrade resolution in order to maintain framerate.Degrade framerate in order to maintain resolution. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RtpParameters.DegradationPreference[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
Does not degrade resolution or framerate. -
MAINTAIN_FRAMERATE
Degrade resolution in order to maintain framerate. -
MAINTAIN_RESOLUTION
Degrade framerate in order to maintain resolution. -
BALANCED
Degrade a balance of framerate and resolution.
-
-
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
-