NERtcCameraCapturePreference class Null safety

Set preferences for capturing data from cameras.

Constructors

NERtcCameraCapturePreference()

Properties

hashCode int
The hash code for this object.
read-only, inherited
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.
inherited

Operators

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

Constants

kDefault → const int
(Default) Prioritizes device performance. The SDK selects the closest camera output parameters based on device performance and the codec settings configured for resolution and frame rate in setLocalVideoConfig In this case, the preview quality is close to the output quality of the encoder.
0
kManual → const int
Uses user-defined settings for camera output parameters. /// Users can set the width and height of the captured video the local camera using captureWidth and captureHeight in NERtcCameraCaptureConfig.
2
kQuality → const int
Prioritizes video preview quality. The SDK automatically applies output parameters with higher image quality to improve the quality of video preview. This will consume more CPU and memory for video preprocessing.
1