MediaTrackConstraints constructor
MediaTrackConstraints({
- List<
MediaTrackConstraintSet> ? advanced, - Object? aspectRatio,
- Object? autoGainControl,
- double? channelCount,
- Object? deviceId,
- Object? displaySurface,
- Object? echoCancellation,
- Object? facingMode,
- Object? frameRate,
- Object? groupId,
- double? height,
- Object? noiseSuppression,
- double? sampleRate,
- double? sampleSize,
- double? width,
Implementation
factory MediaTrackConstraints({
_i2.List<_i3.MediaTrackConstraintSet>? advanced,
_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,
}) =>
MediaTrackConstraints._(
advanced: advanced,
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,
);