CameraCaptureOutputPreference enum

Camera capture preference.

Inheritance

Constructors

CameraCaptureOutputPreference()
const

Values

Auto → const CameraCaptureOutputPreference

0: (Default) Automatically adjust the camera capture preference. The SDK adjusts the camera output parameters according to the system performance and network conditions to balance CPU consumption and video preview quality.

Performance → const CameraCaptureOutputPreference

1: Prioritizes the system performance. The SDK chooses the dimension and frame rate of the local camera capture closest to those set by setVideoEncoderConfiguration . In this case, the local preview quality depends on the encoder.

Preview → const CameraCaptureOutputPreference

2: 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.

Manual → const CameraCaptureOutputPreference

3: Allows you to customize the width and height of the video image captured by the local camera.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CameraCaptureOutputPreference>
A constant List of the values in this enum, in order of their declaration.