This commit is contained in:
yj 2024-08-20 10:53:38 +08:00
parent a7ccec704f
commit 8da3e5c6ba
1 changed files with 6 additions and 6 deletions

View File

@ -161,7 +161,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceCameraPrimary,
})
getShowUser();
}, 1000);
}, 2000);
}
},
onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => {
@ -174,7 +174,7 @@ const Meeting: React.FC = () => {
view: document.getElementById(`video-${remoteUid}`),
channelId: info.channelId,
})
}, 1000);
}, 2000);
}
},
onUserOffline: async (_info: any, remoteUid: any, _reason: any) => {
@ -522,7 +522,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceScreen,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
} else {
// 摄像头
setCurrentLookUserStatus(1)
@ -534,7 +534,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceCameraPrimary,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
}
} else {
if (String(uid).length === 9) {
@ -547,7 +547,7 @@ const Meeting: React.FC = () => {
channelId: state.channelId,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
} else {
// 摄像头
setCurrentLookUserStatus(4)
@ -558,7 +558,7 @@ const Meeting: React.FC = () => {
channelId: state.channelId,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
}
}
}, 1000)