From 8da3e5c6baa8a3865203d1a70645a9e47db4979b Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 20 Aug 2024 10:53:38 +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/page/Meeting/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index ced36bf..5222037 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -161,7 +161,7 @@ const Meeting: React.FC = () => { sourceType: VideoSourceType.VideoSourceCameraPrimary, }) getShowUser(); - }, 1000); + }, 2000); } }, onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => { @@ -174,7 +174,7 @@ const Meeting: React.FC = () => { view: document.getElementById(`video-${remoteUid}`), channelId: info.channelId, }) - }, 1000); + }, 2000); } }, onUserOffline: async (_info: any, remoteUid: any, _reason: any) => { @@ -522,7 +522,7 @@ const Meeting: React.FC = () => { sourceType: VideoSourceType.VideoSourceScreen, }) setClickCurrentLookUserStatus(true) - }, 1000); + }, 2000); } else { // 摄像头 setCurrentLookUserStatus(1) @@ -534,7 +534,7 @@ const Meeting: React.FC = () => { sourceType: VideoSourceType.VideoSourceCameraPrimary, }) setClickCurrentLookUserStatus(true) - }, 1000); + }, 2000); } } else { if (String(uid).length === 9) { @@ -547,7 +547,7 @@ const Meeting: React.FC = () => { channelId: state.channelId, }) setClickCurrentLookUserStatus(true) - }, 1000); + }, 2000); } else { // 摄像头 setCurrentLookUserStatus(4) @@ -558,7 +558,7 @@ const Meeting: React.FC = () => { channelId: state.channelId, }) setClickCurrentLookUserStatus(true) - }, 1000); + }, 2000); } } }, 1000)