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

Rémi Denis-Courmont remi at remlab.net
Tue Aug 5 14:11:56 CEST 2014

Le 2014-08-05 14:20, David R. Robison a écrit :
> 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.

If DEMUX_GET_TIME returns time with the same base, then there is no 
need to define a new way to set time. You only need a way to select the 
time base.

Rémi Denis-Courmont

More information about the vlc-devel mailing list