This commit is contained in:
yj 2024-10-29 12:18:17 +08:00
parent 5f80831058
commit f757ff87fa
1 changed files with 5 additions and 2 deletions

View File

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