From f37bde24296cdd8346e02d9e21316ff6ea20fb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Mon, 13 Apr 2020 22:47:09 +0200 Subject: [PATCH] set in enable AV device constraint to ideal instead of exact --- app/src/RoomClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/RoomClient.js b/app/src/RoomClient.js index f8c00e9..97c8898 100644 --- a/app/src/RoomClient.js +++ b/app/src/RoomClient.js @@ -2467,7 +2467,7 @@ export default class RoomClient const stream = await navigator.mediaDevices.getUserMedia( { audio : { - deviceId : { exact: deviceId } + deviceId : { ideal: deviceId } } } ); @@ -2814,7 +2814,7 @@ export default class RoomClient { video : { - deviceId : { exact: deviceId }, + deviceId : { ideal: deviceId }, ...VIDEO_CONSTRAINS[resolution] } });