AgoraCameraCaptureOutputPreference Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraCameraCaptureOutputPreference
The camera capture preference.
Definition
typedef NS_ENUM(NSInteger, AgoraCameraCaptureOutputPreference ) {
AgoraCameraCaptureOutputPreferenceAuto = 0,
AgoraCameraCaptureOutputPreferencePerformance = 1,
AgoraCameraCaptureOutputPreferencePreview = 2,
AgoraCameraCaptureOutputPreferenceManual = 3,
AgoraCameraCaptureOutputPreferenceUnkown = 4,
};
Constants
AgoraCameraCaptureOutputPreferenceAuto
-
(default) Self-adapts the camera output parameters to the system performance and network conditions to balance CPU consumption and video preview quality.
Declared In
AgoraEnumerates.h
. AgoraCameraCaptureOutputPreferencePerformance
-
Prioritizes the system performance. The SDK chooses the dimension and frame rate of the local camera capture closest to those set by setVideoEncoderConfiguration.
Declared In
AgoraEnumerates.h
. AgoraCameraCaptureOutputPreferencePreview
-
Prioritizes the local preview quality. The SDK chooses higher camera output parameters to improve the local video preview quality. This option requires extra CPU and RAM usage for video pre-processing.
Declared In
AgoraEnumerates.h
. AgoraCameraCaptureOutputPreferenceManual
-
Allows you to customize the width and height of the video image captured by the local camera.
Declared In
AgoraEnumerates.h
. AgoraCameraCaptureOutputPreferenceUnkown
-
Internal use only
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h