From c99ec3668c3fd63e655686a1015ade051140d90a Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 10 Dec 2024 17:15:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/package/agora.ts | 3 +++ 1 file changed, 3 insertions(+) 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,