MediaTrackConstraintSet constructor
MediaTrackConstraintSet({})
Implementation
factory MediaTrackConstraintSet({
_i2.Object? aspectRatio,
_i2.Object? autoGainControl,
_i2.double? channelCount,
_i2.Object? deviceId,
_i2.Object? displaySurface,
_i2.Object? echoCancellation,
_i2.Object? facingMode,
_i2.Object? frameRate,
_i2.Object? groupId,
_i2.double? height,
_i2.Object? noiseSuppression,
_i2.double? sampleRate,
_i2.double? sampleSize,
_i2.double? width,
}) =>
MediaTrackConstraintSet._(
aspectRatio: aspectRatio ?? _i6.undefined,
autoGainControl: autoGainControl ?? _i6.undefined,
channelCount: channelCount,
deviceId: deviceId ?? _i6.undefined,
displaySurface: displaySurface ?? _i6.undefined,
echoCancellation: echoCancellation ?? _i6.undefined,
facingMode: facingMode ?? _i6.undefined,
frameRate: frameRate ?? _i6.undefined,
groupId: groupId ?? _i6.undefined,
height: height,
noiseSuppression: noiseSuppression ?? _i6.undefined,
sampleRate: sampleRate,
sampleSize: sampleSize,
width: width,
);