<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi, thank you for your reply;</p>
<p>The commands for the server and client:</p>
<p>     ./live555ProxyServer -V rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream </p>
<p>     ./testRTSPClient rtsp://192.168.1.128:8554/proxyStream </p>
<p>As I said before, after 70 with the client disconnected, I tryed to connect again and the client shows: </p>
<p>                      [URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Started playing session... </p>
<p>and nothing happens after that</p>
<p> </p>
<p>******* live555ProxyServer LOG ************</p>
<p>LIVE555 Proxy Server</p>
<p>(LIVE555 Streaming Media library version 2015.05.25)</p>
<p>Opening connection to 192.168.1.121, port 554...<br />RTSP stream, proxying the stream "rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream"<br /> Play this stream using the URL: rtsp://192.168.1.128:8554/proxyStream</p>
<p>(We use port 8000 for optional RTSP-over-HTTP tunneling.)<br />...remote connection opened<br />Sending request: DESCRIBE rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 2 <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Accept: application/sdp</p>
<p>Received 160 new bytes of response data.<br />Received a complete DESCRIBE response:<br />RTSP/1.0 401 Unauthorized <br />CSeq: 2 <br />WWW-Authenticate: Digest realm="Embedded Net DVR", nonce="21aaecab7", algorithm="MD5" <br />WWW-Authenticate: Basic realm="/"</p>
<p>Resending...<br />Sending request: DESCRIBE rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 3 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="fe9fec7476543381adcd21f1a5241fb8" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Accept: application/sdp</p>
<p>Received 669 new bytes of response data.<br />Received a complete DESCRIBE response:<br />RTSP/1.0 200 OK <br />CSeq: 3 <br />Content-Type: application/sdp <br />Content-Length: 589 <br /> <br />v=0 <br />o=- 1109162014219182 0 IN IP4 0.0.0.0 <br />s=Media Server V3.1.0 <br />i=Media Server Session Description : standard <br />e=NONE <br />c=IN c=IN IP4 0.0.0.0 <br />t=0 0 <br />a=control:* <br />a=range:npt=now- <br />m=video 0 RTP/AVP 96 <br />i=Video Media <br />a=rtpmap:96 H264/90000 <br />a=fmtp:96 profile-level-id=4D0014;packetization-mode=0;sprop-parameter-sets=Z00AH5W4PA9oQAABdwAAV+Qh,aO48gA== <br />a=control:trackID=video <br />m=audio 0 RTP/AVP 0 <br />i=Audio Media <br />a=rtpmap:0 PCMU/8000 <br />a=control:trackID=audio <br />a=Media_header:MEDIAINFO=494D4B48010100000400000110710110401F000000FA000000000000000000000000000000000000; <br />a=appversion:1.0</p>
<p>ProxyServerMediaSession["rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream"] added new "ProxyServerMediaSubsession" for RTP/video/H264 track<br />ProxyServerMediaSession["rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream"] added new "ProxyServerMediaSubsession" for RTP/audio/PCMU track<br />ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 0)<br /> Initiated: ProxyServerMediaSubsession["H264"]<br />ProxyServerMediaSubsession["H264"]::createNewRTPSink()<br />ProxyServerMediaSubsession["H264"]::closeStreamSource()<br />ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 0)<br /> Initiated: ProxyServerMediaSubsession["PCMU"]<br />ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()<br />ProxyServerMediaSubsession["PCMU"]::closeStreamSource()<br />ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 1294116621)<br />Sending request: SETUP rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream/trackID=video RTSP/1.0 <br />CSeq: 4 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="d05e58ef12c320c3aa751564defaedcd" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Transport: RTP/AVP;unicast;client_port=53678-53679</p>
<p>ProxyServerMediaSubsession["H264"]::createNewRTPSink()<br />ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 1294116621)<br />ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()<br />Received 233 new bytes of response data.<br />Received a complete SETUP response:<br />RTSP/1.0 200 OK <br />Session: 187345554;timeout=60 <br />Transport: RTP/AVP;unicast;client_port=53678-53679;server_port=64080-64081;ssrc=b2aaa92 <br />CSeq: 4 <br />Accept-Ranges: NPT <br />Media-Properties: No-Seeking, Time-Progressing, Time-Duration=0</p>
<p>ProxyRTSPClient["rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream"]::continueAfterSETUP(): head codec: H264; numSubsessions 2<br /> queue: H264 PCMU<br />Sending request: SETUP rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream/trackID=audio RTSP/1.0 <br />CSeq: 5 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="d05e58ef12c320c3aa751564defaedcd" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Transport: RTP/AVP;unicast;client_port=45040-45041 <br />Session: 187345554</p>
<p>Received 233 new bytes of response data.<br />Received a complete SETUP response:<br />RTSP/1.0 200 OK <br />Session: 187345554;timeout=60 <br />Transport: RTP/AVP;unicast;client_port=45040-45041;server_port=64082-64083;ssrc=b2aaa93 <br />CSeq: 5 <br />Accept-Ranges: NPT <br />Media-Properties: No-Seeking, Time-Progressing, Time-Duration=0</p>
<p>ProxyRTSPClient["rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream"]::continueAfterSETUP(): head codec: PCMU; numSubsessions 2<br /> queue: PCMU<br />Sending request: PLAY rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 6 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="c5d2d809780e7cb6619d8be38ba5749c" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>Received 48 new bytes of response data.<br />Received a complete PLAY response:<br />RTSP/1.0 200 OK <br />Session: 187345554 <br />CSeq: 6</p>
<p>Sending request: OPTIONS rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 7 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="da99a7269aabbcadd4c79a5d6f88479b" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>Received 100 new bytes of response data.<br />Received a complete OPTIONS response:<br />RTSP/1.0 200 OK <br />CSeq: 7 <br />Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, PAUSE, SET_PARAMETER</p>
<p>ProxyServerMediaSubsession["H264"]::closeStreamSource()<br />Sending request: PAUSE rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 8 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="1d931426e26bcfbfe214528a9f6b45ce" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>ProxyServerMediaSubsession["PCMU"]::closeStreamSource()<br />Received 44 new bytes of response data.<br />Received a complete PAUSE response:<br />RTSP/1.0 405 Method Not Allowed <br />CSeq: 8</p>
<p>ProxyServerMediaSubsession["H264"]::createNewStreamSource(session id 1438568373)<br />Sending request: PLAY rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 9 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="c5d2d809780e7cb6619d8be38ba5749c" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>ProxyServerMediaSubsession["H264"]::createNewRTPSink()<br />ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 1438568373)<br />ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()<br />Received 56 new bytes of response data.<br />Received a complete PLAY response:<br />RTSP/1.0 455 Method Not Valid In This State <br />CSeq: 9</p>
<p>Sending request: OPTIONS rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 10 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="da99a7269aabbcadd4c79a5d6f88479b" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>Received 101 new bytes of response data.<br />Received a complete OPTIONS response:<br />RTSP/1.0 200 OK <br />CSeq: 10 <br />Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, PAUSE, SET_PARAMETER</p>
<p>Sending request: OPTIONS rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream RTSP/1.0 <br />CSeq: 11 <br />Authorization: Digest username="admin", realm="Embedded Net DVR", nonce="21aaecab7", uri="rtsp://admin:1@192.168.1.121//h264/ch1/main/av_stream", response="da99a7269aabbcadd4c79a5d6f88479b" <br />User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 187345554</p>
<p>Received 101 new bytes of response data.<br />Received a complete OPTIONS response:<br />RTSP/1.0 200 OK <br />CSeq: 11 <br />Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN, PAUSE, SET_PARAMETER </p>
<p> </p>
<p>********** testRTSPClient LOG *****************</p>
<p>Opening connection to 192.168.1.128, port 8554...<br />...remote connection opened<br />Sending request: DESCRIBE rtsp://192.168.1.128:8554/proxyStream RTSP/1.0 <br />CSeq: 2 <br />User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Accept: application/sdp</p>
<p>Received 795 new bytes of response data.<br />Received a complete DESCRIBE response:<br />RTSP/1.0 200 OK <br />CSeq: 2 <br />Date: Fri, May 29 2015 13:02:13 GMT <br />Content-Base: rtsp://192.168.1.128:8554/proxyStream/ <br />Content-Type: application/sdp <br />Content-Length: 624 <br /> <br />v=0 <br />o=- 1432904526026656 1 IN IP4 192.168.1.128 <br />s=LIVE555 Streaming Media v2015.05.25 <br />i=LIVE555 Streaming Media v2015.05.25 <br />t=0 0 <br />a=tool:LIVE555 Streaming Media v2015.05.25 <br />a=type:broadcast <br />a=control:* <br />a=range:npt=0- <br />a=x-qt-text-nam:LIVE555 Streaming Media v2015.05.25 <br />a=x-qt-text-inf:LIVE555 Streaming Media v2015.05.25 <br />m=video 0 RTP/AVP 96 <br />c=IN IP4 0.0.0.0 <br />b=AS:50 <br />a=rtpmap:96 H264/90000 <br />a=fmtp:96 packetization-mode=1;profile-level-id=4D001F;sprop-parameter-sets=Z00AH5W4PA9oQAABdwAAV+Qh,aO48gA== <br />a=control:track1 <br />m=audio 0 RTP/AVP 97 <br />c=IN IP4 0.0.0.0 <br />b=AS:50 <br />a=rtpmap:97 PCMU/8000 <br />a=control:track2</p>
<p>[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Got a SDP description:<br />v=0 <br />o=- 1432904526026656 1 IN IP4 192.168.1.128 <br />s=LIVE555 Streaming Media v2015.05.25 <br />i=LIVE555 Streaming Media v2015.05.25 <br />t=0 0 <br />a=tool:LIVE555 Streaming Media v2015.05.25 <br />a=type:broadcast <br />a=control:* <br />a=range:npt=0- <br />a=x-qt-text-nam:LIVE555 Streaming Media v2015.05.25 <br />a=x-qt-text-inf:LIVE555 Streaming Media v2015.05.25 <br />m=video 0 RTP/AVP 96 <br />c=IN IP4 0.0.0.0 <br />b=AS:50 <br />a=rtpmap:96 H264/90000 <br />a=fmtp:96 packetization-mode=1;profile-level-id=4D001F;sprop-parameter-sets=Z00AH5W4PA9oQAABdwAAV+Qh,aO48gA== <br />a=control:track1 <br />m=audio 0 RTP/AVP 97 <br />c=IN IP4 0.0.0.0 <br />b=AS:50 <br />a=rtpmap:97 PCMU/8000 <br />a=control:track2</p>
<p>[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Initiated the "video/H264" subsession (client ports 32812-32813)<br />Sending request: SETUP rtsp://192.168.1.128:8554/proxyStream/track1 RTSP/1.0 <br />CSeq: 3 <br />User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Transport: RTP/AVP;unicast;client_port=32812-32813</p>
<p>Received 216 new bytes of response data.<br />Received a complete SETUP response:<br />RTSP/1.0 200 OK <br />CSeq: 3 <br />Date: Fri, May 29 2015 13:02:14 GMT <br />Transport: RTP/AVP;unicast;destination=192.168.1.128;source=192.168.1.128;client_port=32812-32813;server_port=6970-6971 <br />Session: 4D22A70D;timeout=65</p>
<p>[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Set up the "video/H264" subsession (client ports 32812-32813)<br />[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Created a data sink for the "video/H264" subsession<br />[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Initiated the "audio/PCMU" subsession (client ports 54882-54883)<br />Sending request: SETUP rtsp://192.168.1.128:8554/proxyStream/track2 RTSP/1.0 <br />CSeq: 4 <br />User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Transport: RTP/AVP;unicast;client_port=54882-54883 <br />Session: 4D22A70D</p>
<p>Received 216 new bytes of response data.<br />Received a complete SETUP response:<br />RTSP/1.0 200 OK <br />CSeq: 4 <br />Date: Fri, May 29 2015 13:02:14 GMT <br />Transport: RTP/AVP;unicast;destination=192.168.1.128;source=192.168.1.128;client_port=54882-54883;server_port=6972-6973 <br />Session: 4D22A70D;timeout=65</p>
<p>[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Set up the "audio/PCMU" subsession (client ports 54882-54883)<br />[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Created a data sink for the "audio/PCMU" subsession<br />Sending request: PLAY rtsp://192.168.1.128:8554/proxyStream/ RTSP/1.0 <br />CSeq: 5 <br />User-Agent: ./testRTSPClient (LIVE555 Streaming Media v2015.05.25) <br />Session: 4D22A70D <br />Range: npt=0.000-</p>
<p>Received 269 new bytes of response data.<br />Received a complete PLAY response:<br />RTSP/1.0 200 OK <br />CSeq: 5 <br />Date: Fri, May 29 2015 13:02:14 GMT <br />Range: npt=0.000- <br />Session: 4D22A70D <br />RTP-Info: url=rtsp://192.168.1.128:8554/proxyStream/track1;seq=18162;rtptime=3291441750,url=rtsp://192.168.1.128:8554/proxyStream/track2;seq=25479;rtptime=300309529</p>
<p>[URL:"rtsp://192.168.1.128:8554/proxyStream/"]: Started playing session...</p>
<p> </p>
<p>********************************************************</p>
<p> </p>
<p>Em 27.05.2015 17:52, Ross Finlayson escreveu:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div>
<div>
<p>live555ProxyServer LOG:</p>
<p>ProxyServerMediaSubsession["H264"]::closeStreamSource()</p>
<p>ProxyServerMediaSubsession["H264"]::createNewRTPSink()</p>
<p>ProxyServerMediaSubsession["PCMU"]::createNewStreamSource(session id 929659699)<br />ProxyServerMediaSubsession["PCMU"]::createNewRTPSink()<br />Received 57 new bytes of response data.<br />Received a complete PLAY response:<br />RTSP/1.0 455 Method Not Valid In This State</p>
<div> </div>
</div>
</div>
</blockquote>
<div> </div>
This seems to indicate a problem with your ‘back end’ server - i.e., with your IP camera.  To be sure, though, I’d need to see the *complete* live555ProxyServer log (generated by running it with the “-V” option) - not just the shortened log entries that you included in your message.</div>
<br />
<div><span class="Apple-style-span" style="border-collapse: separate; color: #000000; 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: #000000; 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 href="http://www.live555.com/">http://www.live555.com/</a></span></span></div>
<br /><!-- html ignored --><br />
<pre>_______________________________________________
live-devel mailing list
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>