[Live-devel] How to specify Range in RTSPClient that are not using npt

Wiser, Tyson TWiser at logostech.net
Thu May 31 07:21:06 PDT 2012



More seriously we need to seek in absolute mode because we would like to query video according to the time we recorded it (and not a relative time relative to begin of RTSP session).

This is the first time I've ever heard of someone doing this (or even wanting to do this).  Because it's allowed for (but optional) in the RTSP specification, it would be nice if we (at the client and server end) supported this.  But because it's so rarely used, it's not going to be a high-priority feature, unfortunately.

We also had the same requirement of being able to request video based on absolute record time, not relative time.  When we saw that Live555 didn't support this we ended up doing some subclassing so that we could override the handling of SET_PARAMETER messages.  We then had the client pass the desired play time as a parameter to the server before sending the PLAY command and had our server check that parameter when it started playing.  It ended up working well for us and also made it so that we could change the play time simply by calling SET_PARAMETER again without issuing PLAY, PAUSE, or STOP commands.  The downside is that now only our client can control the play time since no other RTSP client would know about our specific parameter.  In theory any client would be able to play our live stream (using the "now-" form of the ntp PLAY command) but it wouldn't be able to get anything other than live.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120531/617e1ad2/attachment.html>


More information about the live-devel mailing list