[Live-devel] Design

Ruud Siebierski ruud.siebierski at eventis.nl
Thu Jun 12 03:53:19 PDT 2008


Hi Ross,

Thanks of course for the replay. I was just browsing through the doxygen
'docs'.
My problem is that I don't see any relation between
"ServerMediaSubsession" and "MediaSubsession". And my guess is I need a
MediaSubSession object to get the position in NPT, etc.
Should I use the Medium::lookUpByName function or something like that? 

Regards,
Ruud

-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: donderdag 12 juni 2008 0:54
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Design

>I want to add some parameters to the GET_PARAMETER call, like 
>position. Now I found a function MediaSubsession::getNormalPlayTime 
>which i could use (i guess), but I have no clue how to access a 
>MediaSubsession object from the GET_PARAMETER call handler.

You would do this (from the "RTSPClientSession" object) by first 
accessing the "ServerMediaSession" object, and iterating through its 
"ServerMediaSubsession" objects.  See, for example, the code starting 
at line 644 of "RTSPServer.cpp".


>1.       Is there a design of Live555, like an UML class diagram?

The closest we have to this is the "Doxygen" diagrams - e.g., 
http://www.live555.com/liveMedia/doxygen/html/classMedium.html
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


More information about the live-devel mailing list