This commit is contained in:
parent
b579f77b9f
commit
3423e13487
|
|
@ -1009,9 +1009,14 @@ const Meeting: React.FC = () => {
|
|||
},
|
||||
onLocalVideoStateChanged: async (_source: VideoSourceType, _state: LocalVideoStreamState, reason: LocalVideoStreamReason) => {
|
||||
if (reason === 12) {
|
||||
stopScreenCapture()
|
||||
setSharedScreenItem('')
|
||||
allUserLook(userInfo.uid, userInfo.userName)
|
||||
setIsScreenCapture(bool => {
|
||||
if (bool) {
|
||||
stopScreenCapture()
|
||||
setSharedScreenItem('')
|
||||
allUserLook(userInfo.uid, userInfo.userName)
|
||||
}
|
||||
return false
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue