diff --git a/src/utils/package/agora.ts b/src/utils/package/agora.ts index 6926a55..ab0ebc4 100644 --- a/src/utils/package/agora.ts +++ b/src/utils/package/agora.ts @@ -216,6 +216,9 @@ export const agora = { // 本地加入 setupLocalVideo: async (item: any) => { if (item.view?.childNodes.length === 1 || item.type) { + if (String(item.uid).length === 9) { + return + } await rtcEngine.setupLocalVideo({ renderMode: agora.getRrenderMode(item.uid), sourceType: item.sourceType,