[vlc-devel] [PATCH 1/1] Supporting ONVIF PRofile-G recording playback
David R. Robison
david.robison at openroadsconsulting.com
Tue Aug 5 13:20:08 CEST 2014
Thanks for the clarification, however, I still need to be able to
determine which sendPlayCommand signature to use. ONVIF requires the
"range: clock" header element rather than the "range: ntp" element. One
approach would be to determine if the "time" is being sent is in
absolute date/time (unix seconds). I could test the "time" variable and
if it is greater than 24*60*60 seconds then assume absolute time is
being sent and use the sendPlayCommand with the ISO 8601 formatted times
otherwise use the sendPlayCommand with doubles. This is a bit of a kluge
but may mean minimal changes to VLC. Any thoughts.
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
On 8/5/2014 1:33 AM, Ross Finlayson wrote:
>> 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.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel