This commit is contained in:
yj 2024-07-22 11:32:01 +08:00
parent 960096812a
commit 3c0b59abb6
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ const Meeting: React.FC = () => {
}, 1000);
},
onUserOffline: async (info: any, remoteUid: any, reason: any) => {
agora.setupRemoteVideo({
await agora.setupRemoteVideo({
account: Number(remoteUid),
view: document.getElementById(`video-${remoteUid}`) as HTMLElement,
channelId: info.channelId,