set in enable AV device constraint to ideal instead of exact
This commit is contained in:
1 parent
3cf0f9d3e7
commit
36fab6c572
1 file changed
+2
-2
@@ -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]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user