This commit is contained in:
parent
5f80831058
commit
f757ff87fa
|
|
@ -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) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 播放设备
|
// 播放设备
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue