<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
David<br>
<pre class="moz-signature" cols="72">David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:david.robison@openroadsconsulting.com">david.robison@openroadsconsulting.com</a>
web: <a class="moz-txt-link-freetext" href="http://openroadsconsulting.com">http://openroadsconsulting.com</a>
blog: <a class="moz-txt-link-freetext" href="http://therobe.blogspot.com">http://therobe.blogspot.com</a>
book: <a class="moz-txt-link-freetext" href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a>
</pre>
On 8/5/2014 1:33 AM, Ross Finlayson wrote:<br>
</div>
<blockquote
cite="mid:83355BD2-4977-41D4-A811-695F63BD47DD@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<div>
<blockquote type="cite">When it comes to the RTSP integration
there are two ways to <br>
set the PLAY requests range header value. When playing live
video the <br>
RTSP SendPlayCommand sens a "range: npt" tag, when playing
recorded <br>
video it sends a "range: clock" value.</blockquote>
<div><br>
</div>
No. The LIVE555 library has *two* "sendPlayCommand()" functions
(i.e., with two different parameter signatures).</div>
<div><br>
</div>
<div>One "sendPlayCommand()" function uses doubles for the
start/end times. This function is implemented by sending
"range: npt" strings in RTSP.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<br>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; "><span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; ">Ross Finlayson<br>
Live Networks, Inc.<br>
<a moz-do-not-send="true" href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
</blockquote>
<br>
<BR />
<BR />
<HR />
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.<BR />
If you are not the intended recipient, please delete this email immediately.<BR />
</body>
</html>