We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c11f62 + f4a56c4 commit bbe2497Copy full SHA for bbe2497
lib/src/mediadevices_impl.dart
@@ -66,7 +66,9 @@ class MediaDevicesWeb extends MediaDevices {
66
audio: mediaConstraints['audio'],
67
video: mediaConstraints['video'],
68
),
69
- (web.MediaStream stream) {}.toJS,
+ (web.MediaStream stream) {
70
+ streamCompleter.complete(stream);
71
+ }.toJS,
72
(JSAny err) {
73
streamCompleter.completeError(err);
74
}.toJS);
0 commit comments