From af39a32916021ecc024d8140a10a74c5d1c92845 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Mon, 21 Oct 2024 17:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=91=84=E5=83=8F=E5=A4=B4=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=97=A0=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Meeting/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index acb2e9b..0d3bc21 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1160,6 +1160,13 @@ const Meeting: React.FC = () => { if (key === 'ManagerRefresh') { callBack && callBack() } + if (key === 'OperCamera' && item.user.uid === userInfo.uid) { + if (item.user.enableCamera) { + agora.startCameraCapture() + } else { + agora.stopCameraCapture(); + } + } return res }) break;