This commit is contained in:
parent
fcefaea359
commit
7eb1b2d1dc
|
|
@ -162,15 +162,10 @@ const Meeting: React.FC = () => {
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUserOffline: async (info: any, remoteUid: any, _reason: any) => {
|
onUserOffline: async (_info: any, remoteUid: any, _reason: any) => {
|
||||||
if (String(remoteUid).length === 9) {
|
if (String(remoteUid).length === 9) {
|
||||||
setIsShare(null)
|
setIsShare(null)
|
||||||
}
|
}
|
||||||
await agora.setupRemoteVideo({
|
|
||||||
uid: Number(remoteUid),
|
|
||||||
view: null,
|
|
||||||
channelId: info.channelId,
|
|
||||||
})
|
|
||||||
setCurrentVideoId((res: any) => {
|
setCurrentVideoId((res: any) => {
|
||||||
if (Number(res) === remoteUid) {
|
if (Number(res) === remoteUid) {
|
||||||
getShowUser();
|
getShowUser();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue