mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
fix device choosing issue
This commit is contained in:
parent
14b59ac281
commit
cb832dea37
1 changed files with 3 additions and 3 deletions
|
|
@ -1506,7 +1506,7 @@ export default class RoomClient
|
|||
const stream = await navigator.mediaDevices.getUserMedia(
|
||||
{
|
||||
audio : {
|
||||
deviceId : { ideal: deviceId },
|
||||
deviceId : { exact: deviceId },
|
||||
sampleRate,
|
||||
channelCount,
|
||||
autoGainControl,
|
||||
|
|
@ -1713,7 +1713,7 @@ export default class RoomClient
|
|||
{
|
||||
video :
|
||||
{
|
||||
deviceId : { ideal: deviceId },
|
||||
deviceId : { exact: deviceId },
|
||||
...getVideoConstrains(resolution, aspectRatio),
|
||||
frameRate
|
||||
}
|
||||
|
|
@ -4292,7 +4292,7 @@ export default class RoomClient
|
|||
{
|
||||
video :
|
||||
{
|
||||
deviceId : { ideal: videoDeviceId },
|
||||
deviceId : { exact: videoDeviceId },
|
||||
...getVideoConstrains(resolution, aspectRatio),
|
||||
frameRate
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue