This commit is contained in:
yj 2024-08-09 14:51:40 +08:00
parent 4d4623b3f3
commit 3fa81d97ea
1 changed files with 3 additions and 3 deletions

View File

@ -470,9 +470,9 @@ const Meeting: React.FC = () => {
setIsSharedScreenModal(true) setIsSharedScreenModal(true)
break; break;
case '停止共享': case '停止共享':
await agora.leaveChannelEx(user.screenShareId) await agora.leaveChannelEx(userInfo.screenShareId)
agora.stopScreenCapture() agora.stopScreenCapture()
await allUserLook(user.uid) await allUserLook(userInfo.uid)
footerListTemplate[itemIndex][rowIndex].title = '共享屏幕' footerListTemplate[itemIndex][rowIndex].title = '共享屏幕'
break; break;
case '关闭声音': case '关闭声音':
@ -1129,7 +1129,7 @@ const Meeting: React.FC = () => {
setIsSharePopConfirm(false) setIsSharePopConfirm(false)
setTimeout(() => { setTimeout(() => {
clickSharedScreen() clickSharedScreen()
}, 1000) }, 500)
}} }}
onCancel={() => { onCancel={() => {
setIsSharePopConfirm(false) setIsSharePopConfirm(false)