set in enable AV device constraint to ideal instead of exact

This commit is contained in:
Mészáros Mihály
2020-04-13 22:47:09 +02:00
parent 3cf0f9d3e7
commit 36fab6c572
+2 -2
View File
@@ -2834,7 +2834,7 @@ export default class RoomClient
const stream = await navigator.mediaDevices.getUserMedia(
{
audio : {
deviceId : { exact: deviceId }
deviceId : { ideal: deviceId }
}
}
);
@@ -3192,7 +3192,7 @@ export default class RoomClient
{
video :
{
deviceId : { exact: deviceId },
deviceId : { ideal: deviceId },
...VIDEO_CONSTRAINS[resolution]
}
});