-
Notifications
You must be signed in to change notification settings - Fork 62
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
What is the order of events being track clones? #1020
Comments
Order of creation might not be deterministic if tracks are transferable to a worker and back, and clones are produced simultaneously in both the worker and the window. Tracks, their clones and clones-of-clones all form a tree with the original track as the root. Maybe:
|
Order should ideally be deterministic within a context (window or worker).
Yes, as said above, one order is by creation time (this would make getUserMedia initial tracks to be first, and then the cloned (or transferred back) tracks. This guarantees that all tracks of a context are ordered deterministically.
I'd like to move away from this single track mute approach. |
I was pointing out something different.
As I mention here, "order of creation" is unclear between |
I do not think this matters, When posting back to window |
Note that my example includes posting If we transfer when posting, what order do we want to use? |
Track clones will all fire events when being ended, muted...
The order of the events is visible from web applications but the spec is not really clear about this.
It even allows one track to be muted and not a clone, since UA can set muted on a track granularity and not source granularity.
I would think this has no bing interop impact but the spec should in theory provide guidance there since this is JS observable (maybe fire events by order of creation of tracks?)
The text was updated successfully, but these errors were encountered: