getUserMedia method
- [Map? constraints]
Implementation
Future<MediaStream> getUserMedia([Map? constraints]) { var constraints_dict = null; if (constraints != null) { constraints_dict = convertDartToNative_Dictionary(constraints); } return promiseToFuture<MediaStream>(JS( "creates:MediaStream;", "#.getUserMedia(#)", this, constraints_dict)); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/MediaDevices/getUserMedia.html