MediaStreamGraph DirectListeners see a TracKID that's from the SourceMediaStream, not any possible TrackID that's result of a later TrackUnion. (e.g. streams from GetUserMedia). This should be resolved in some manner. Note that DirectListeners also listen to normal notifications, and could see the correct TrackID's then, but there's a problem (once you have multiple streams of a type) in correlating them. ReplaceTrack() has worked around this
Andreas -- Just wanted to make sure you saw this since it's related to the work you're doing on TrackID.
Priority: -- → P3
Thanks. I have patches on bug 1170958 that add an input TrackID to NotifyQueuedTrackChanges that could be used to match the SourceMediaStream's TrackID, should they land.
Depends on: 1170958
Component: Audio/Video → Audio/Video: MSG/cubeb/GMP
MediaStreamTracks now have an input TrackID that can be matched to the TrackID in the source (where the DirectListener listens). We also have direct track listeners where you don't have to worry about the TrackID at all. These together should provide what we need.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.