This commit is contained in:
parent
b436bf9f6c
commit
4317bc92ea
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue