Need a way to handle an event when the user click the Chrome “Stop Sharing”.
When the user click Chrome “Stop Sharing”, the screen sharing is just left with the static image.
Is there a way to listen to that event callback so that I can clear the canvas? or,
How do you hide that Chrome “Stop Sharing” popup?
Which Web Video SDK version?
To Reproduce(If applicable)
1. const stream = client.getMediaStream(); 2. stream.startShareView("canvasId"); 3. screen is shared on the "canvasId". But, on Chrome, it also displays a pop up extension of "Stop Sharing". 4. Clicking on Chrome "Stop Sharing" button will leave the canvas with a static image.