[Live-devel] media subsessions and names
Valery Kazakov
anubis at fao.lv
Thu Sep 16 19:07:47 PDT 2004
Good afternoon.
On client side I work with live's stack and use "livedotcom.cpp" from
VLC.
I wanted to open four windows for all video streams and use their names
as windows captions.
"MediaSubsessionIterator" made array of "MediaSubsession" objects,
but sequence of the objects is not strictly corresponds to names list
from the SDP.
How I can define accordance between media subsessions
and names from SDP?
Thanks, Valery.
В Срд, 15.09.2004, в 22:29, Ross Finlayson пишет:
> At 04:38 AM 9/15/04, you wrote:
> >Good afternoon.
> >I had created RTSPServer and one ServerMediaSession object with four
> >ServerMediaSubsession objects for video streams.
> >On the client side I got names of video streams from the SDP
> >(for example "track1", "track2", etc.).
> >On the client side sequence of initialised MediaSubsessions can differ
> >("track2", "track1", "track3", etc.).
>
> Valery,
>
> I'm not sure I follow this. If you look at the code for the functions
> "ServerMediaSession::addSubsession()" and
> "ServerMediaSession::generateSDPDescription()", you'll see that the SDP for
> each "ServerMediaSubsession" is listed in the order that it was added, and
> that each is given a consecutive track number.
>
> If that's not the case, then please let me know where I should fix the code.
>
>
> Ross Finlayson
> LIVE.COM
> <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list