This commit is contained in:
yj 2024-07-19 17:15:39 +08:00
parent 79aafb23b9
commit b436bf9f6c
1 changed files with 2 additions and 0 deletions

View File

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