opentok-react
opentok-react copied to clipboard
Stop screen sharing not removing chrome popup
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.

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.

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
@quiringk any update on this?
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..
anyone had success on it ?