MediaTrackSupportedConstraints constructor

MediaTrackSupportedConstraints({
  1. bool? width,
  2. bool? height,
  3. bool? aspectRatio,
  4. bool? frameRate,
  5. bool? facingMode,
  6. bool? resizeMode,
  7. bool? sampleRate,
  8. bool? sampleSize,
  9. bool? echoCancellation,
  10. bool? autoGainControl,
  11. bool? noiseSuppression,
  12. bool? latency,
  13. bool? channelCount,
  14. bool? deviceId,
  15. bool? groupId,
})

Implementation

factory MediaTrackSupportedConstraints(
        {bool? width,
        bool? height,
        bool? aspectRatio,
        bool? frameRate,
        bool? facingMode,
        bool? resizeMode,
        bool? sampleRate,
        bool? sampleSize,
        bool? echoCancellation,
        bool? autoGainControl,
        bool? noiseSuppression,
        bool? latency,
        bool? channelCount,
        bool? deviceId,
        bool? groupId}) =>
    MediaTrackSupportedConstraints._(
        width: width ?? true,
        height: height ?? true,
        aspectRatio: aspectRatio ?? true,
        frameRate: frameRate ?? true,
        facingMode: facingMode ?? true,
        resizeMode: resizeMode ?? true,
        sampleRate: sampleRate ?? true,
        sampleSize: sampleSize ?? true,
        echoCancellation: echoCancellation ?? true,
        autoGainControl: autoGainControl ?? true,
        noiseSuppression: noiseSuppression ?? true,
        latency: latency ?? true,
        channelCount: channelCount ?? true,
        deviceId: deviceId ?? true,
        groupId: groupId ?? true);