CameraCaptureOutputPreference enum Null safety

The camera capture configuration.

Constants

Auto → const CameraCaptureOutputPreference

(default) Self-adapts the camera output parameters to the system performance and network conditions to balance CPU consumption and video preview quality.

@JsonValue(0)
const CameraCaptureOutputPreference(0)
Manual → const CameraCaptureOutputPreference

Capture Dimensions determined by user.

@JsonValue(3)
const CameraCaptureOutputPreference(3)
Performance → const CameraCaptureOutputPreference

Prioritizes the system performance. The SDK chooses the dimension and frame rate of the local camera capture closest to those set by RtcEngine.setVideoEncoderConfiguration.

@JsonValue(1)
const CameraCaptureOutputPreference(1)
Preview → const CameraCaptureOutputPreference

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.

@JsonValue(2)
const CameraCaptureOutputPreference(2)
values → const List<CameraCaptureOutputPreference>

A constant List of the values in this enum, in order of their declaration.

const List<CameraCaptureOutputPreference>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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