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) => {
|
onLocalVideoStateChanged: async (_source: VideoSourceType, _state: LocalVideoStreamState, reason: LocalVideoStreamReason) => {
|
||||||
if (reason === 12) {
|
if (reason === 12) {
|
||||||
stopScreenCapture()
|
setIsScreenCapture(bool => {
|
||||||
setSharedScreenItem('')
|
if (bool) {
|
||||||
allUserLook(userInfo.uid, userInfo.userName)
|
stopScreenCapture()
|
||||||
|
setSharedScreenItem('')
|
||||||
|
allUserLook(userInfo.uid, userInfo.userName)
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue