[Live-devel] ts stream current position

Ross Finlayson finlayson at live555.com
Sun Oct 11 09:57:47 PDT 2009


>How i can obtain current position (in seconds) in  
>handleCmd_GET_PARAMETER   method of RTSPServer?

There is no way to do this in the server code.

However, a RTSP client need not - and should not - query the server 
to get the 'current position'.  Instead, the client should call 
"MediaSubsession::getNormalPlayTime()", passing the most 
recently-seen 'presentation time' as parameter.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list