yangjie #46

Merged
yangqiang merged 15 commits from yangjie into master 2025-01-03 10:43:27 +08:00
1 changed files with 7 additions and 7 deletions
Showing only changes of commit 3bc5994506 - Show all commits

View File

@ -1692,13 +1692,13 @@ const Meeting: React.FC = () => {
// 退出房间
const leaveChannel = async (bool: boolean = true): Promise<void> => {
setIsLeave(true)
setTimeout(async () => {
await stopScreenCapture()
await stopRecorderMedia()
if (bool) {
await getLeave()
}
await agora.leaveChannel()
setTimeout(() => {
setRecorder((res: any) => {
if (res) {