yangjie #28

Merged
yangqiang merged 32 commits from yangjie into master 2024-10-29 15:15:48 +08:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 418445df55 - Show all commits

View File

@ -69,8 +69,11 @@ export const agora = {
}
})
} else {
await agora.setVideoDeviceManager(await rtcEngine.getVideoDeviceManager().getDevice())
setting.videoDeviceId = await rtcEngine.getVideoDeviceManager().getDevice()
try {
await agora.setVideoDeviceManager(await rtcEngine.getVideoDeviceManager().getDevice())
setting.videoDeviceId = await rtcEngine.getVideoDeviceManager().getDevice()
} catch (error) {
}
}
// 播放设备