On Mon, Jul 23, 2012 at 3:25 PM, Robert O'Callahan <[email protected]> wrote:
> On Tue, Jul 24, 2012 at 4:23 AM, Ethan Hugg <[email protected]> wrote:
>
>> 1.  We can't currently get the track ID and type directly from a
>> MediaStream of nsDOMMediaStream.  We are right now using some content
>> hints put into nsDOMMediaStream to let us know whether there is
>> probably audio and/or video (alder branch), but we don't get track IDs
>> and it all breaks when we want to support creating SDP for multiple
>> audio or video sources.  I understand that the type is not known in
>> every case, but it would be great to be able to get more accuracy
>> about the SDP we should be generating.
>>
>
> Can we make SDP generation asynchronous? I.e., the JS API that triggers SDP
> generation returns before SDP is actually generated? Then we could delay
> SDP generation until some tracks have appeared in the input stream.

It already is, but how do we know that all the tracks have appeared?

-Ekr
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to