退出房间停止共享

This commit is contained in:
yj 2024-10-22 17:37:01 +08:00
parent ae49bf5bef
commit b3841beb65
1 changed files with 1 additions and 0 deletions

View File

@ -1556,6 +1556,7 @@ const Meeting: React.FC = () => {
}
} catch (error) {
}
await stopScreenCapture()
await agora.leaveChannel()
setTimeout(() => {
if (userInfo.isAnonymous) {