摄像头打开无反应

This commit is contained in:
yj 2024-10-21 17:49:28 +08:00
parent e117c03e37
commit af39a32916
1 changed files with 7 additions and 0 deletions

View File

@ -1160,6 +1160,13 @@ const Meeting: React.FC = () => {
if (key === 'ManagerRefresh') { if (key === 'ManagerRefresh') {
callBack && callBack() callBack && callBack()
} }
if (key === 'OperCamera' && item.user.uid === userInfo.uid) {
if (item.user.enableCamera) {
agora.startCameraCapture()
} else {
agora.stopCameraCapture();
}
}
return res return res
}) })
break; break;