Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling when user click STOP SHARE button on Chrome? #338

Open
03hgryan opened this issue Mar 7, 2023 · 1 comment
Open

Handling when user click STOP SHARE button on Chrome? #338

03hgryan opened this issue Mar 7, 2023 · 1 comment

Comments

@03hgryan
Copy link

03hgryan commented Mar 7, 2023

How can I detect this event so that I can unpublish the stream?

@plutoless
Copy link
Contributor

if i remember correctly there's an "ended" event on the screenshare track emitted. you can rely on that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants