[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
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526
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.
> http://www.live555.com/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
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...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140805/2d1df927/attachment.html>
More information about the vlc-devel
mailing list