set in enable AV device constraint to ideal instead of exact
parent
3cf0f9d3e7
commit
36fab6c572
|
|
@ -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]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue