On 7/23/2012 6:54 PM, Robert O'Callahan wrote:
On Tue, Jul 24, 2012 at 10:52 AM, Robert O'Callahan <[email protected]>wrote:
So, how about we add MediaStreamListener::NotifyTrackSetAdded() which
fires when we've called NotifyQueuedTrackChanges with TRACK_CREATE one or
more times and we don't know of any other new tracks at this time?
Alternatively, we could do what Ethan wanted and break out the
create/remove notifications into their own methods, and pass those methods
an array of tracks.
If we do that, would it be helpful to make NotifyQueuedTrackChanges be
called just once and take an array of tracks?
Ethan (and Suhas and ekr) may be closer to this issue, but that sounds
like a good API to me - we want to do one renegotiation for all the
track adds/removes that occur as a set - getting them as an array with a
single Notify I think would make the logic for this simpler.
I assume this behavior would occur as well when tracks get added later -
ones that come "together" would generate single Notifies?
--
Randell Jesup
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media