OTDegradationPreference Constants Reference
| Declared in | OTPublisherKit.h |
|---|
OTDegradationPreference
Definition
typedef NS_ENUM(NSInteger, OTDegradationPreference ) {
OTDegradationPreferenceNotSet = -1,
OTDegradationPreferenceMaintainFrameRateAndResolution = 0,
OTDegradationPreferenceMaintainFrameRate = 1,
OTDegradationPreferenceMaintainResolution = 2,
OTDegradationPreferenceBalanced = 3,
};
Constants
OTDegradationPreferenceNotSet-
Default value. The video engine will decide the optimal degradation preference.
Declared In
OTPublisherKit.h. OTDegradationPreferenceMaintainFrameRateAndResolution-
The video engine will not reduce the resolution and will try to keep the frame rate steady. In some versions of the standard this option is referred to as “DISABLED”, meaning that no degradation will be applied at all when under limited resources.
Declared In
OTPublisherKit.h. OTDegradationPreferenceMaintainFrameRate-
The video engine will try to keep the frame rate steady but might reduce resolution if necessary.
Declared In
OTPublisherKit.h. OTDegradationPreferenceMaintainResolution-
The video engine will not reduce the resolution but might reduce the frame rate if necessary.
Declared In
OTPublisherKit.h. OTDegradationPreferenceBalanced-
The video engine will try to reach a balance between reducing resolution and frame rate when necessary.
Declared In
OTPublisherKit.h.
Declared In
OTPublisherKit.h