Skip to content

Commit 327413b

Browse files
authored
Update mediadevices_impl.dart
1 parent 34996ec commit 327413b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/src/mediadevices_impl.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class MediaDevicesWeb extends MediaDevices {
2020
mediaConstraints['video'].remove('facingMode');
2121
}
2222
}
23-
mediaConstraints.putIfAbsent('video', () => false);
24-
mediaConstraints.putIfAbsent('audio', () => false);
2523
} catch (e) {
2624
print(
2725
'[getUserMedia] failed to remove facingMode from mediaConstraints');

0 commit comments

Comments
 (0)