This commit is contained in:
parent
fcefaea359
commit
7eb1b2d1dc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue