<div dir="ltr">Hi,<div><br></div><div>I have compiled the './testH264VideoStreamer' prog, and it seems to work fine. Ive used openRTSP from the local machine, and it received the stream to file as it should. However the machine is an amazone EC2 instance, which has a public, and private ip address.</div><div><br></div><div>When trying to access the stream using the public ip address it does not work. When using openRTSP from a remote machine, this is the output. It appears its trying to use the internal ip address when receiving the stream data.</div><div><br></div><div>Could anyone give me a heads up on the correct way to set this up?</div><div><br></div><div><div>$ ./openRTSP rtsp://<a href="http://ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream">ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream</a></div><div>Opening connection to 54.171.254.16, port 8554...</div><div>...remote connection opened</div><div>Sending request: OPTIONS rtsp://<a href="http://ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream">ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream</a> RTSP/1.0</div><div>CSeq: 2</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12)</div><div><br></div><div><br></div><div>Received 152 new bytes of response data.</div><div>Received a complete OPTIONS response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 2</div><div>Date: Tue, Nov 18 2014 11:38:54 GMT</div><div>Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER</div><div><br></div><div><br></div><div>Sending request: DESCRIBE rtsp://<a href="http://ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream">ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream</a> RTSP/1.0</div><div>CSeq: 3</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12)</div><div>Accept: application/sdp</div><div><br></div><div><br></div><div>Received 760 new bytes of response data.</div><div>Received a complete DESCRIBE response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 3</div><div>Date: Tue, Nov 18 2014 11:38:54 GMT</div><div>Content-Base: rtsp://<a href="http://172.31.9.199:8554/testStream/">172.31.9.199:8554/testStream/</a></div><div>Content-Type: application/sdp</div><div>Content-Length: 591</div><div><br></div><div>v=0</div><div>o=- 1416309499604805 1 IN IP4 172.31.9.199</div><div>s=Session streamed by "testH264VideoStreamer"</div><div>i=test.264</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2014.11.12</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=source-filter: incl IN IP4 * 172.31.9.199</div><div>a=rtcp-unicast: reflection</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:Session streamed by "testH264VideoStreamer"</div><div>a=x-qt-text-inf:test.264</div><div>m=video 18888 RTP/AVP 96</div><div>c=IN IP4 <a href="http://232.76.230.47/255">232.76.230.47/255</a></div><div>b=AS:500</div><div>a=rtpmap:96 H264/90000</div><div>a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH6wrQEAINgIgAAB9AAA6mBHjhlQ=,aO48sA==</div><div>a=control:track1</div><div><br></div><div>Opened URL "rtsp://<a href="http://ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream">ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream</a>", returning a SDP description:</div><div>v=0</div><div>o=- 1416309499604805 1 IN IP4 172.31.9.199</div><div>s=Session streamed by "testH264VideoStreamer"</div><div>i=test.264</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2014.11.12</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=source-filter: incl IN IP4 * 172.31.9.199</div><div>a=rtcp-unicast: reflection</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:Session streamed by "testH264VideoStreamer"</div><div>a=x-qt-text-inf:test.264</div><div>m=video 18888 RTP/AVP 96</div><div>c=IN IP4 <a href="http://232.76.230.47/255">232.76.230.47/255</a></div><div>b=AS:500</div><div>a=rtpmap:96 H264/90000</div><div>a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH6wrQEAINgIgAAB9AAA6mBHjhlQ=,aO48sA==</div><div>a=control:track1</div><div><br></div><div>Created receiver for "video/H264" subsession (client ports 18888-18889)</div><div>Sending request: SETUP rtsp://<a href="http://172.31.9.199:8554/testStream/track1">172.31.9.199:8554/testStream/track1</a> RTSP/1.0</div><div>CSeq: 4</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12)</div><div>Transport: RTP/AVP;multicast;client_port=18888-18889</div><div><br></div><div><br></div><div>Received 196 new bytes of response data.</div><div>Received a complete SETUP response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 4</div><div>Date: Tue, Nov 18 2014 11:38:54 GMT</div><div>Transport: RTP/AVP;multicast;destination=232.76.230.47;source=172.31.9.199;port=18888-18889;ttl=255</div><div>Session: ADC6AB32;timeout=65</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-- <br><div dir="ltr"><div style="margin:0px;font-size:12px"><font color="#000000"><b>Sam Hudson</b></font></div><div><div style="margin:0px;font-size:12px"><font color="#000000"><i>Software Engineer</i></font></div><div style="margin:0px;font-size:12px"><font color="#000000">The Foundry</font></div></div><div style="margin:0px;font-size:12px"><font color="#000000">Web: <a href="http://www.thefoundry.co.uk/" target="_blank">www.thefoundry.co.uk</a></font></div><div style="margin:0px"><font color="#000000" style="font-size:12px">Email: </font><a href="mailto:sam.hudson@thefoundry.co.uk" target="_blank">sam.hudson@thefoundry.co.uk</a></div><div style="margin:0px;font-size:12px"><font color="#000000"><a><br></a></font></div><div style="margin:0px;font-size:12px"><div style="color:rgb(80,0,80);font-size:13px"><div style="margin:0px;font-size:12px"><font color="#999999">The Foundry Visionmongers Ltd.</font></div></div><div style="color:rgb(80,0,80);font-size:13px"><div style="margin:0px;font-size:12px"><font color="#999999">Registered in England and Wales No: 4642027</font></div></div></div></div></div></div>
</div></div>