Skip to content

Commit 1001b31

Browse files
authored
Merge pull request #22 from xsahil03x/patch-1
fix: deviceId key
2 parents e3283fb + 5664d05 commit 1001b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/mediadevices_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class MediaDevicesWeb extends MediaDevices {
100100
channelCount: _mapConstraints['channelCount'],
101101
colorTemperature: _mapConstraints['colorTemperature'],
102102
contrast: _mapConstraints['contrast'],
103-
deviceId: _mapConstraints['_mapConstraints'],
103+
deviceId: _mapConstraints['deviceId'],
104104
echoCancellation: _mapConstraints['echoCancellation'],
105105
exposureCompensation: _mapConstraints['exposureCompensation'],
106106
exposureMode: _mapConstraints['exposureMode'],

0 commit comments

Comments
 (0)