API-Examples
API-Examples copied to clipboard
Handling when user click STOP SHARE button on Chrome?
How can I detect this event so that I can unpublish the stream?
if i remember correctly there's an "ended" event on the screenshare track emitted. you can rely on that one.