电脑端摄像头无法正常使用得情况下,限制开启摄像头
This commit is contained in:
parent
79d393ab14
commit
aa76736cf4
|
|
@ -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: <div>请检查摄像头是否正常工作,检查摄像头是否被其他应用占用,或者尝试重新加入频道,<span style={{ color: '#606fc7', cursor: 'pointer' }} onClick={() => {
|
||||
stupWizardRef.current.changeModal(1);
|
||||
}}>前往修改摄像头</span></div>,
|
||||
duration: 60,
|
||||
key: 'cameraTemporarily'
|
||||
});
|
||||
}
|
||||
},
|
||||
onTokenPrivilegeWillExpire: async (connection: RtcConnection, _token: string) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue