public static enum RtpParameters.DegradationPreference extends java.lang.Enum<RtpParameters.DegradationPreference>
Enum Constant and Description |
---|
BALANCED
Degrade a balance of framerate and resolution.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static RtpParameters.DegradationPreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RtpParameters.DegradationPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RtpParameters.DegradationPreference DISABLED
public static final RtpParameters.DegradationPreference MAINTAIN_FRAMERATE
public static final RtpParameters.DegradationPreference MAINTAIN_RESOLUTION
public static final RtpParameters.DegradationPreference BALANCED
public static RtpParameters.DegradationPreference[] values()
for (RtpParameters.DegradationPreference c : RtpParameters.DegradationPreference.values()) System.out.println(c);
public static RtpParameters.DegradationPreference valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null7.0.0