set in enable AV device constraint to ideal instead of exact

auto_join_3.3
Mészáros Mihály 2020-04-13 22:47:09 +02:00
parent 3cf0f9d3e7
commit 36fab6c572
1 changed files with 2 additions and 2 deletions

View File

@ -2834,7 +2834,7 @@ export default class RoomClient
const stream = await navigator.mediaDevices.getUserMedia( const stream = await navigator.mediaDevices.getUserMedia(
{ {
audio : { audio : {
deviceId : { exact: deviceId } deviceId : { ideal: deviceId }
} }
} }
); );
@ -3192,7 +3192,7 @@ export default class RoomClient
{ {
video : video :
{ {
deviceId : { exact: deviceId }, deviceId : { ideal: deviceId },
...VIDEO_CONSTRAINS[resolution] ...VIDEO_CONSTRAINS[resolution]
} }
}); });