From 92dea100e82f63ca32676cf31dbaee13038c7831 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Mon, 9 Sep 2024 16:26:33 +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/components/UserVideo/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UserVideo/index.tsx b/src/components/UserVideo/index.tsx index 066f6cc..3a5cfc1 100644 --- a/src/components/UserVideo/index.tsx +++ b/src/components/UserVideo/index.tsx @@ -66,7 +66,7 @@ const UserVideo: React.FC = () => { view: document.getElementById(`video-${item.screenShareId}`), channelId: state.channelId + 'a', }) - await agora.setRemoteVideoStreamType(item.uid, VideoStreamType.VideoStreamLow, false) + await agora.setRemoteVideoStreamType(Number('1' + item.screenShareId), VideoStreamType.VideoStreamLow, false) }) }, [userList]) // 监听缓存变化