diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index f347871..31b308b 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1005,7 +1005,7 @@ const Meeting: React.FC = () => { } }, onLocalVideoStateChanged: async (source: VideoSourceType, _state: LocalVideoStreamState, reason: LocalVideoStreamReason) => { - if (source === 2 && reason === 12) { + if (reason === 12) { stopScreenCapture() setSharedScreenItem('') allUserLook(userInfo.uid, userInfo.userName)