<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>This is really strange. <BR>I compiled openRTSP with Visual Studio 2008. This is app output:<BR> <BR>Opening connection to 128.197.178.101, port 80...<br>...remote connection opened<br>Requesting RTSP-over-HTTP tunneling (on port 80)<BR>Sending request: GET /mpeg4/media.amp HTTP/1.1<br>CSeq: 1<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Host: 128.197.178.101<br>x-sessioncookie: 04f86c4ff28f926de9b83f5<br>Accept: application/x-rtsp-tunnelled<br>Pragma: no-cache<br>Cache-Control: no-cache<BR><br>Received 63 new bytes of response data.<br>Received a complete GET response:<br>HTTP/1.0 200 OK<br>Content-Type: application/x-rtsp-tunnelled<BR><br>Opening connection to 128.197.178.101, port 80...<br>...remote connection opened<br>Sending request: POST /mpeg4/media.amp HTTP/1.1<br>CSeq: 1<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Host: 128.197.178.101<br>x-sessioncookie: 04f86c4ff28f926de9b83f5<br>Content-Type: application/x-rtsp-tunnelled<br>Pragma: no-cache<br>Cache-Control: no-cache<br>Content-Length: 32767<br>Expires: Sun, 9 Jan 1972 00:00:00 GMT<BR><br>Sending request: OPTIONS rtsp://128.197.178.101/mpeg4/media.amp RTSP/1.0<br>CSeq: 2<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<BR><br>        The request was base-64 encoded to: T1BUSU9OUyBydHNwOi8vMTI4LjE5Ny4xNzgu<br>MTAxL21wZWc0L21lZGlhLmFtcCBSVFNQLzEuMA0KQ1NlcTogMg0KVXNlci1BZ2VudDogb3BlblJUU1Ag<br>KExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDE0LjAyLjA0KQ0KDQo=<BR><br>Received 91 new bytes of response data.<br>Received a complete OPTIONS response:<br>RTSP/1.0 200 OK<br>CSeq: 2<br>Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, TEARDOWN<BR><br>Sending request: DESCRIBE rtsp://128.197.178.101/mpeg4/media.amp RTSP/1.0<br>CSeq: 3<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Accept: application/sdp<BR><br>        The request was base-64 encoded to: REVTQ1JJQkUgcnRzcDovLzEyOC4xOTcuMTc4<br>LjEwMS9tcGVnNC9tZWRpYS5hbXAgUlRTUC8xLjANCkNTZXE6IDMNClVzZXItQWdlbnQ6IG9wZW5SVFNQ<br>IChMSVZFNTU1IFN0cmVhbWluZyBNZWRpYSB2MjAxNC4wMi4wNCkNCkFjY2VwdDogYXBwbGljYXRpb24v<br>c2RwDQoNCg==<BR>Received 823 new bytes of response data.<br>Received a complete DESCRIBE response:<br>RTSP/1.0 200 OK<br>CSeq: 3<br>Content-Base: rtsp://128.197.178.101:554/mpeg4/media.amp/<br>Content-Type: application/sdp<br>Content-Length: 684<BR>v=0<br>o=- 1391865650758305 1391865650758312 IN IP4 128.197.178.101<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFw<br>cGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJ<br>QUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlv<br>bi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAG<br>CQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B5090000010000000120008C4<br>019285820F0A21F;<br>a=mpeg4-esid:201<BR>Opened URL "rtsp://128.197.178.101/mpeg4/media.amp", returning a SDP description<br>:<br>v=0<br>o=- 1391865650758305 1391865650758312 IN IP4 128.197.178.101<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFw<br>cGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJ<br>QUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlv<br>bi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAG<br>CQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B5090000010000000120008C4<br>019285820F0A21F;<br>a=mpeg4-esid:201<BR>Created receiver for "video/MP4V-ES" subsession (client ports 55900-55901)<br>Sending request: SETUP rtsp://128.197.178.101:554/mpeg4/media.amp/trackID=1 RTSP<br>/1.0<br>CSeq: 4<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Transport: RTP/AVP/TCP;unicast;interleaved=0-1<BR><br>        The request was base-64 encoded to: U0VUVVAgcnRzcDovLzEyOC4xOTcuMTc4LjEw<br>MTo1NTQvbXBlZzQvbWVkaWEuYW1wL3RyYWNrSUQ9MSBSVFNQLzEuMA0KQ1NlcTogNA0KVXNlci1BZ2Vu<br>dDogb3BlblJUU1AgKExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDE0LjAyLjA0KQ0KVHJhbnNwb3J0<br>OiBSVFAvQVZQL1RDUDt1bmljYXN0O2ludGVybGVhdmVkPTAtMQ0KDQo=<BR><br>Received 120 new bytes of response data.<br>Received a complete SETUP response:<br>RTSP/1.0 200 OK<br>CSeq: 4<br>Session: 1767047643;timeout=60<br>Transport: RTP/AVP/TCP;unicast;mode=play;interleaved=60-61<BR><br>Setup "video/MP4V-ES" subsession (client ports 55900-55901)<br>Created output file: "video-MP4V-ES-1"<br>Sending request: PLAY rtsp://128.197.178.101:554/mpeg4/media.amp/ RTSP/1.0<br>CSeq: 5<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Session: 1767047643<br>Range: npt=0.000-<BR><br>        The request was base-64 encoded to: UExBWSBydHNwOi8vMTI4LjE5Ny4xNzguMTAx<br>OjU1NC9tcGVnNC9tZWRpYS5hbXAvIFJUU1AvMS4wDQpDU2VxOiA1DQpVc2VyLUFnZW50OiBvcGVuUlRT<br>UCAoTElWRTU1NSBTdHJlYW1pbmcgTWVkaWEgdjIwMTQuMDIuMDQpDQpTZXNzaW9uOiAxNzY3MDQ3NjQz<br>DQpSYW5nZTogbnB0PTAuMDAwLQ0KDQo=<BR>Received a complete PLAY response:<br>RTSP/1.0 200 OK<br>CSeq: 5<br>Session: 1767047643<br>Range: npt=now-<br>RTP-Info: url=trackID=1;seq=34609;rtptime=3603019675<BR><br>Failed to start playing session: Bad "Range:" header<br>Sending request: TEARDOWN rtsp://128.197.178.101:554/mpeg4/media.amp/ RTSP/1.0<br>CSeq: 6<br>User-Agent: openRTSP (LIVE555 Streaming Media v2014.02.04)<br>Session: 1767047643<BR><br>        The request was base-64 encoded to: VEVBUkRPV04gcnRzcDovLzEyOC4xOTcuMTc4<br>LjEwMTo1NTQvbXBlZzQvbWVkaWEuYW1wLyBSVFNQLzEuMA0KQ1NlcTogNg0KVXNlci1BZ2VudDogb3Bl<br>blJUU1AgKExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDE0LjAyLjA0KQ0KU2Vzc2lvbjogMTc2NzA0<br>NzY0Mw0KDQo=<BR> <BR>Krishna.<br> <BR><div><hr id="stopSpelling">From: finlayson@live555.com<br>Date: Sat, 8 Feb 2014 10:39:34 +1300<br>To: live-devel@ns.live555.com<br>Subject: Re: [Live-devel] Bad "Range:" header error introduced<br><br><div><blockquote><div class="ecxhmmessage" style="font: 12pt/normal Calibri; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal;"><div dir="ltr">I switched from Live555 version 2013.09.08 to 2014.02.04 and PLAY command sent to Axis 213 camera now results in "Bad "Range:" header" error returned by Live555. "Range: npt=now-" is returned by the camera that seems to get rejected. The camera is on-line and can be accessed via HTTP tunneling:<span class="ecxApple-converted-space"> </span><a target="_blank">rtsp://128.197.178.101/mpeg4/media.amp</a>.<br></div></div></blockquote><div><br></div>That's odd.  I'm not seeing this at all.  Running "openRTSP -T 80" (to specify RTSP-over-HTTP tunneling) on this URL works just fine:<br><div><br></div></div>%openRTSP -T 80 <a target="_blank">rtsp://128.197.178.101/mpeg4/media.amp</a><br>Opening connection to 128.197.178.101, port 80...<br>...remote connection opened<br>Requesting RTSP-over-HTTP tunneling (on port 80)<br><br>Sending request: GET /mpeg4/media.amp HTTP/1.1<br>CSeq: 1<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br>Host: 128.197.178.101<br>x-sessioncookie: 11828aef671cfcf975c137d<br>Accept: application/x-rtsp-tunnelled<br>Pragma: no-cache<br>Cache-Control: no-cache<br><br><br>Received 63 new bytes of response data.<br>Received a complete GET response:<br>HTTP/1.0 200 OK<br>Content-Type: application/x-rtsp-tunnelled<br><br><br>Opening connection to 128.197.178.101, port 80...<br>...remote connection opened<br>Sending request: POST /mpeg4/media.amp HTTP/1.1<br>CSeq: 1<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br>Host: 128.197.178.101<br>x-sessioncookie: 11828aef671cfcf975c137d<br>Content-Type: application/x-rtsp-tunnelled<br>Pragma: no-cache<br>Cache-Control: no-cache<br>Content-Length: 32767<br>Expires: Sun, 9 Jan 1972 00:00:00 GMT<br><br><br>Sending request: OPTIONS <a target="_blank">rtsp://128.197.178.101/mpeg4/media.amp</a> RTSP/1.0<br>CSeq: 2<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br><br><br><span class="ecxApple-tab-span" style="white-space: pre;">      </span>The request was base-64 encoded to: T1BUSU9OUyBydHNwOi8vMTI4LjE5Ny4xNzguMTAxL21wZWc0L21lZGlhLmFtcCBSVFNQLzEuMA0KQ1NlcTogMg0KVXNlci1BZ2VudDogLi9vcGVuUlRTUCAoTElWRTU1NSBTdHJlYW1pbmcgTWVkaWEgdjIwMTQuMDIuMDcpDQoNCg==<br><br>Received 91 new bytes of response data.<br>Received a complete OPTIONS response:<br>RTSP/1.0 200 OK<br>CSeq: 2<br>Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, TEARDOWN<br><br><br>Sending request: DESCRIBE <a target="_blank">rtsp://128.197.178.101/mpeg4/media.amp</a> RTSP/1.0<br>CSeq: 3<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br>Accept: application/sdp<br><br><br><span class="ecxApple-tab-span" style="white-space: pre;"> </span>The request was base-64 encoded to: REVTQ1JJQkUgcnRzcDovLzEyOC4xOTcuMTc4LjEwMS9tcGVnNC9tZWRpYS5hbXAgUlRTUC8xLjANCkNTZXE6IDMNClVzZXItQWdlbnQ6IC4vb3BlblJUU1AgKExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDE0LjAyLjA3KQ0KQWNjZXB0OiBhcHBsaWNhdGlvbi9zZHANCg0K<br><br>Received 823 new bytes of response data.<br>Received a complete DESCRIBE response:<br>RTSP/1.0 200 OK<br>CSeq: 3<br>Content-Base: <a target="_blank">rtsp://128.197.178.101:554/mpeg4/media.amp/</a><br>Content-Type: application/sdp<br>Content-Length: 684<br><br>v=0<br>o=- 1391790981113890 1391790981113897 IN IP4 128.197.178.101<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B5090000010000000120008C4019285820F0A21F;<br>a=mpeg4-esid:201<br><br>Opened URL "<a target="_blank">rtsp://128.197.178.101/mpeg4/media.amp</a>", returning a SDP description:<br>v=0<br>o=- 1391790981113890 1391790981113897 IN IP4 128.197.178.101<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B5090000010000000120008C4019285820F0A21F;<br>a=mpeg4-esid:201<br><br>Created receiver for "video/MP4V-ES" subsession (client ports 51914-51915)<br>Sending request: SETUP <a target="_blank">rtsp://128.197.178.101:554/mpeg4/media.amp/trackID=1</a> RTSP/1.0<br>CSeq: 4<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br>Transport: RTP/AVP/TCP;unicast;interleaved=0-1<br><br><br><span class="ecxApple-tab-span" style="white-space: pre;">  </span>The request was base-64 encoded to: U0VUVVAgcnRzcDovLzEyOC4xOTcuMTc4LjEwMTo1NTQvbXBlZzQvbWVkaWEuYW1wL3RyYWNrSUQ9MSBSVFNQLzEuMA0KQ1NlcTogNA0KVXNlci1BZ2VudDogLi9vcGVuUlRTUCAoTElWRTU1NSBTdHJlYW1pbmcgTWVkaWEgdjIwMTQuMDIuMDcpDQpUcmFuc3BvcnQ6IFJUUC9BVlAvVENQO3VuaWNhc3Q7aW50ZXJsZWF2ZWQ9MC0xDQoNCg==<br><br>Received 120 new bytes of response data.<br>Received a complete SETUP response:<br>RTSP/1.0 200 OK<br>CSeq: 4<br>Session: 1825287805;timeout=60<br>Transport: RTP/AVP/TCP;unicast;mode=play;interleaved=24-25<br><br><br>Setup "video/MP4V-ES" subsession (client ports 51914-51915)<br>Created output file: "video-MP4V-ES-1"<br>Sending request: PLAY <a target="_blank">rtsp://128.197.178.101:554/mpeg4/media.amp/</a> RTSP/1.0<br>CSeq: 5<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.02.07)<br>Session: 1825287805<br>Range: npt=0.000-<br><br><br><span class="ecxApple-tab-span" style="white-space: pre;">    </span>The request was base-64 encoded to: UExBWSBydHNwOi8vMTI4LjE5Ny4xNzguMTAxOjU1NC9tcGVnNC9tZWRpYS5hbXAvIFJUU1AvMS4wDQpDU2VxOiA1DQpVc2VyLUFnZW50OiAuL29wZW5SVFNQIChMSVZFNTU1IFN0cmVhbWluZyBNZWRpYSB2MjAxNC4wMi4wNykNClNlc3Npb246IDE4MjUyODc4MDUNClJhbmdlOiBucHQ9MC4wMDAtDQoNCg==<br><br>Received a complete PLAY response:<br>RTSP/1.0 200 OK<br>CSeq: 5<br>Session: 1825287805<br>Range: npt=now-<br>RTP-Info: url=trackID=1;seq=52465;rtptime=806046324<br><br><br>Started playing session<br>Receiving streamed data (signal with "kill -HUP 93865" or "kill -USR1 93865" to terminate)...<br><br>------<div>So, I can't explain why it's not working for you.</div><div><br><div>
<span class="ecxApple-style-span" style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; border-collapse: separate; orphans: 2; widows: 2;"><span class="ecxApple-style-span" style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; border-collapse: separate; orphans: 2; widows: 2;">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div><br>_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel</div>                                          </div></body>
</html>