diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index a8f893e..eab2ef9 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1415,6 +1415,19 @@ const Meeting: React.FC = () => { duration: 60, key: 'cameraTemporarily' }); + } else if (_state === 3) { + await PostOpenCamera({ + roomNum: state.channelId, + uid: userInfo.uid, + enableCamera: false + }) + message.error({ + content:
请检查摄像头是否正常工作,检查摄像头是否被其他应用占用,或者尝试重新加入频道, { + stupWizardRef.current.changeModal(1); + }}>前往修改摄像头
, + duration: 60, + key: 'cameraTemporarily' + }); } }, onTokenPrivilegeWillExpire: async (connection: RtcConnection, _token: string) => {