Skip to content

Conversation

davidzhao
Copy link
Member

When a local track ends, sometimes it's due to browser sending an ended event on the MediaStreamTrack. For example, if user interacted with browser UI to stop publishing.

This is another attempt at #62. We've decided to use a different event from TrackUnpublished to be more explicit about the action. Since majority of the users don't have to pay attention to TrackUnpublished when using auto subs.

@davidzhao davidzhao requested a review from lukasIO October 31, 2021 05:58
Co-authored-by: lukasIO <mail@lukasseiler.de>
@davidzhao davidzhao merged commit 2995a22 into main Oct 31, 2021
@davidzhao davidzhao deleted the local-track-unpublish branch October 31, 2021 16:10
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

Successfully merging this pull request may close these issues.

2 participants