CameraCaptureOptions class

Options used when creating a LocalVideoTrack that captures the camera.

Inheritance

Constructors

CameraCaptureOptions({CameraPosition cameraPosition = CameraPosition.front, String? deviceId, double? maxFrameRate, VideoParameters params = VideoParametersPresets.h540_169})
const
CameraCaptureOptions.from({required VideoCaptureOptions captureOptions})

Properties

cameraPosition CameraPosition
final
deviceId String?
The deviceId of the capture device to use. Available deviceIds can be obtained through flutter_webrtc:
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maxFrameRate double?
finalinherited
params VideoParameters
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({VideoParameters? params, CameraPosition? cameraPosition, String? deviceId, double? maxFrameRate}) CameraCaptureOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMediaConstraintsMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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