yj #27
|
|
@ -444,10 +444,7 @@ export const agora = {
|
|||
},
|
||||
// 通过设备 ID 指定视频采集设备。
|
||||
setVideoDeviceManager: async (deviceIdUTF8: string) => {
|
||||
try {
|
||||
await rtcEngine.getVideoDeviceManager().setDevice(deviceIdUTF8)
|
||||
} catch (error) {
|
||||
}
|
||||
},
|
||||
// 开启本地视频预览
|
||||
startPreview: async (id: string, uid: number): Promise<void> => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue