This commit is contained in:
yj 2024-07-19 17:18:58 +08:00
parent b436bf9f6c
commit 4317bc92ea
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ const agora = {
// 监听用户离开频道事件 // 监听用户离开频道事件
onUserOffline: (info: any, remoteUid: any, reason: any) => { onUserOffline: (info: any, remoteUid: any, reason: any) => {
// 远端用户离开频道后,关闭远端视频窗口 // 远端用户离开频道后,关闭远端视频窗口
console.log(info, remoteUid, reason); console.log(info, remoteUid, reason, document.getElementById(`video-${remoteUid}`));
storage.setItem('isRemotJoin', false) storage.setItem('isRemotJoin', false)
rtcEngine.setupRemoteVideo( rtcEngine.setupRemoteVideo(