8000 fix loopback sample for web. · micromingle/flutter-webrtc@5536c5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 5536c5e

Browse files
committed
fix loopback sample for web.
1 parent 7e298d0 commit 5536c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/helper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Helper {
3535
/// speaker and the preferred device
3636
/// web: flutter web can use RTCVideoRenderer.audioOutput instead
3737
static Future<void> selectAudioOutput(String deviceId) async {
38-
await mediaDevices
38+
await navigator.mediaDevices
3939
.selectAudioOutput(AudioOutputOptions(deviceId: deviceId));
4040
}
4141

0 commit comments

Comments
 (0)
0