[vlc-devel] [PATCH 1/1] Supporting ONVIF PRofile-G recording playback

Ross Finlayson finlayson at live555.com
Tue Aug 5 07:33:10 CEST 2014


 
> When it comes to the RTSP integration there are two ways to 
> set the PLAY requests range header value. When playing live video the 
> RTSP SendPlayCommand sens a "range: npt" tag, when playing recorded 
> video it sends a "range: clock" value.

No.  The LIVE555 library has *two* "sendPlayCommand()" functions (i.e., with two different parameter signatures).

One "sendPlayCommand()" function uses doubles for the start/end times.  This function is implemented by sending "range: npt" strings in RTSP.

The other "sendPlayCommand()" function uses strings (ISO 8601 format times) for the start/end times.  This function is implemented by sending "range: clock" strings in RTSP.

So, this has nothing to do with 'live' versus 'recorded' video.  It simply depends on which form of the "sendPlayCommand()" function you choose to call.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140804/e4799def/attachment.html>


More information about the vlc-devel mailing list