yj #27

Merged
yangqiang merged 5 commits from yj into master 2024-10-29 13:49:57 +08:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit f757ff87fa - Show all commits

View File

@ -64,8 +64,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) {
}
}
// 播放设备