yangjie #49

Merged
yangqiang merged 71 commits from yangjie into master 2025-03-10 14:21:26 +08:00
1 changed files with 4 additions and 7 deletions
Showing only changes of commit 4520bba95d - Show all commits

View File

@ -1449,14 +1449,11 @@ const Meeting: React.FC = () => {
setAudioStatus(newState)
},
onActiveSpeaker: (_connection: RtcConnection, uid: number) => {
GetSharedScreen(state.channelId).then(req => {
if (req.code === 200) {
if (req.data) {
setIsShare(req.data)
} else {
renderVideo(String(uid))
}
setIsShare((res: any) => {
if (!res) {
renderVideo(String(uid))
}
return res
})
}
})