opentok-react icon indicating copy to clipboard operation
opentok-react copied to clipboard

Stop screen sharing not removing chrome popup

Open quiringk opened this issue 5 years ago • 5 comments

I have screen sharing working well. However, when I stop screen sharing from my application the native chrome "app is sharing your screen. Stop sharing" popup doesn't go away. I've tried removing the publisher from JSX, manually unpublishing, manually stopping media tracks, etc. The screen sharing stops fine. However, the native chrome popup never goes away (unless I click the stop sharing button).

This is confusing because the user clicked a "stop sharing" button inside the application which totally works, however this popup is still floating around even though they are not sharing anymore.

image

quiringk avatar Jan 31 '20 19:01 quiringk

Also, same issue for firefox, just less noticable because it's in a dropdown in the URL bar instead of a native popup on the window.

image

quiringk avatar Jan 31 '20 20:01 quiringk

Which version of the SDK are you using? Are you able to reproduce it?

I tried with sample code and it works, both when I unmount the Publisher or call destroyPublisher function

enricop89 avatar Mar 25 '20 13:03 enricop89

@quiringk any update on this?

enricop89 avatar Jun 24 '20 14:06 enricop89

I'm also struggling to find a way to close this popup programmatically. I close all MediaTracks using the API .stop() but the bloody stop share is still there, even though the stream is not active anymore..

akdsco avatar Dec 12 '20 21:12 akdsco

anyone had success on it ?

irfanDC avatar Jan 25 '21 13:01 irfanDC