A video degradation preference. More...
Public Member Functions | |
VideoDegradationPreference (int value) | |
int | getAssignedValue () |
Static Public Member Functions | |
[static initializer] | |
static VideoDegradationPreference | getByAssignedValue (int value) |
Public Attributes | |
Automatic =(1) | |
Indicates a preference to automate the degradation preference based on the video type. More... | |
Balanced =(2) | |
Indicates a preference to degrade both frame-rate and resolution together in smaller increments. More... | |
FrameRate =(3) | |
Indicates a preference to degrade frame-rate instead of resolution. More... | |
Resolution =(4) | |
Indicates a preference to degrade resolution instead of frame-rate. More... | |
A video degradation preference.
fm.liveswitch.VideoDegradationPreference.VideoDegradationPreference | ( | int | value | ) |
|
static |
int fm.liveswitch.VideoDegradationPreference.getAssignedValue | ( | ) |
|
static |
fm.liveswitch.VideoDegradationPreference.Automatic =(1) |
Indicates a preference to automate the degradation preference based on the video type.
A video type of fm.liveswitch.VideoType#Screen will prefer to degrade fm.liveswitch.VideoDegradationPreference#FrameRate. A video type of fm.liveswitch.VideoType#Camera will prefer to degrade fm.liveswitch.VideoDegradationPreference#Resolution. A video type of fm.liveswitch.VideoType#Unknown will prefer a fm.liveswitch.VideoDegradationPreference#Balanced approach.
fm.liveswitch.VideoDegradationPreference.Balanced =(2) |
Indicates a preference to degrade both frame-rate and resolution together in smaller increments.
fm.liveswitch.VideoDegradationPreference.FrameRate =(3) |
Indicates a preference to degrade frame-rate instead of resolution.
fm.liveswitch.VideoDegradationPreference.Resolution =(4) |
Indicates a preference to degrade resolution instead of frame-rate.