CameraCaptureOptions class

Options used when creating a LocalVideoTrack that captures the camera.

Inheritance

Constructors

CameraCaptureOptions({String? deviceId, CameraPosition cameraPosition = CameraPosition.front, 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:
final
hashCode int
The hash code for this object.
no setterinherited
params → VideoParameters
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({VideoParameters? params, CameraPosition? cameraPosition}) 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