diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index ecb60b8..3d03f64 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -162,15 +162,10 @@ const Meeting: React.FC = () => { }, 1000); } }, - onUserOffline: async (info: any, remoteUid: any, _reason: any) => { + onUserOffline: async (_info: any, remoteUid: any, _reason: any) => { if (String(remoteUid).length === 9) { setIsShare(null) } - await agora.setupRemoteVideo({ - uid: Number(remoteUid), - view: null, - channelId: info.channelId, - }) setCurrentVideoId((res: any) => { if (Number(res) === remoteUid) { getShowUser();