Hi, 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.
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. Could anyone give me a heads up on the correct way to set this up? $ ./openRTSP rtsp:// ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream Opening connection to 54.171.254.16, port 8554... ...remote connection opened Sending request: OPTIONS rtsp:// ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream RTSP/1.0 CSeq: 2 User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12) Received 152 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 2 Date: Tue, Nov 18 2014 11:38:54 GMT Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER Sending request: DESCRIBE rtsp:// ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream RTSP/1.0 CSeq: 3 User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12) Accept: application/sdp Received 760 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 3 Date: Tue, Nov 18 2014 11:38:54 GMT Content-Base: rtsp://172.31.9.199:8554/testStream/ Content-Type: application/sdp Content-Length: 591 v=0 o=- 1416309499604805 1 IN IP4 172.31.9.199 s=Session streamed by "testH264VideoStreamer" i=test.264 t=0 0 a=tool:LIVE555 Streaming Media v2014.11.12 a=type:broadcast a=control:* a=source-filter: incl IN IP4 * 172.31.9.199 a=rtcp-unicast: reflection a=range:npt=0- a=x-qt-text-nam:Session streamed by "testH264VideoStreamer" a=x-qt-text-inf:test.264 m=video 18888 RTP/AVP 96 c=IN IP4 232.76.230.47/255 b=AS:500 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH6wrQEAINgIgAAB9AAA6mBHjhlQ=,aO48sA== a=control:track1 Opened URL "rtsp:// ec2-54-171-254-16.eu-west-1.compute.amazonaws.com:8554/testStream", returning a SDP description: v=0 o=- 1416309499604805 1 IN IP4 172.31.9.199 s=Session streamed by "testH264VideoStreamer" i=test.264 t=0 0 a=tool:LIVE555 Streaming Media v2014.11.12 a=type:broadcast a=control:* a=source-filter: incl IN IP4 * 172.31.9.199 a=rtcp-unicast: reflection a=range:npt=0- a=x-qt-text-nam:Session streamed by "testH264VideoStreamer" a=x-qt-text-inf:test.264 m=video 18888 RTP/AVP 96 c=IN IP4 232.76.230.47/255 b=AS:500 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH6wrQEAINgIgAAB9AAA6mBHjhlQ=,aO48sA== a=control:track1 Created receiver for "video/H264" subsession (client ports 18888-18889) Sending request: SETUP rtsp://172.31.9.199:8554/testStream/track1 RTSP/1.0 CSeq: 4 User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.12) Transport: RTP/AVP;multicast;client_port=18888-18889 Received 196 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 4 Date: Tue, Nov 18 2014 11:38:54 GMT Transport: RTP/AVP;multicast;destination=232.76.230.47;source=172.31.9.199;port=18888-18889;ttl=255 Session: ADC6AB32;timeout=65 -- -- *Sam Hudson* *Software Engineer* The Foundry Web: www.thefoundry.co.uk Email: sam.hud...@thefoundry.co.uk The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel