[Live-devel] Streaming through a DSL Router with NAT
Neil Alexander
nalex at hand-off.com
Sat Oct 22 01:33:59 PDT 2005
On Oct 21, 2005, at 11:40 PM, Ross Finlayson wrote:
> Try again, but this time add the "-V" option to "openRTSP", to
> include the full RTSP protocol exchange.
>
> I also suggest trying the "-t" option (specifying: request RTP-over-
> RTSP).
>
OK, here's the result:
==============================================================
beThereServer:/applications neil$ /Applications/openRTSP -t -V rtsp://
69.90.55.159:8554/Channel_000a27000401dc2d_Broadcast
Sending request: OPTIONS rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 1
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Date: Sat, Oct 22 2005 04:30:13 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Sending request: DESCRIBE rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Date: Sat, Oct 22 2005 04:30:13 GMT
Content-Base: rtsp://192.168.1.104:8554/
Channel_000a27000401dc2d_Broadcast/
Content-Type: application/sdp
Content-Length: 379
Need to read 379 extra bytes
Read 379 extra bytes: v=0
o=- 1129955347710660 1 IN IP4 192.168.1.104
s=Session streamed by "BeThere!"
i=Channel_000a27000401dc2d_Broadcast
t=0 0
a=tool:LIVE.COM Streaming Media v2005.05.26
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "BeThere!"
a=x-qt-text-inf:Channel_000a27000401dc2d_Broadcast
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
Opened URL "rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast", returning a SDP description:
v=0
o=- 1129955347710660 1 IN IP4 192.168.1.104
s=Session streamed by "BeThere!"
i=Channel_000a27000401dc2d_Broadcast
t=0 0
a=tool:LIVE.COM Streaming Media v2005.05.26
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "BeThere!"
a=x-qt-text-inf:Channel_000a27000401dc2d_Broadcast
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
Created receiver for "video/JPEG" subsession (client ports 56150-56151)
Sending request: SETUP rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast/track1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Date: Sat, Oct 22 2005 04:30:13 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.1.1;interleaved=0-1
Session: 2
Setup "video/JPEG" subsession (client ports 56150-56151)
Created output file: "video-JPEG-1"
Sending request: PLAY rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 4
Session: 2
Range: npt=0.000-
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Failed to start playing session: liveMedia4
Sending request: TEARDOWN rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 5
Session: 2
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
beThereServer:/applications neil$ /Applications/openRTSP -t -V rtsp://
69.90.55.159:8554/Channel_000a27000401dc2d_Broadcast
Sending request: OPTIONS rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 1
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Date: Sat, Oct 22 2005 04:31:30 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
Sending request: DESCRIBE rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Date: Sat, Oct 22 2005 04:31:30 GMT
Content-Base: rtsp://192.168.1.104:8554/
Channel_000a27000401dc2d_Broadcast/
Content-Type: application/sdp
Content-Length: 379
Need to read 379 extra bytes
Read 379 extra bytes: v=0
o=- 1129955484351626 1 IN IP4 192.168.1.104
s=Session streamed by "BeThere!"
i=Channel_000a27000401dc2d_Broadcast
t=0 0
a=tool:LIVE.COM Streaming Media v2005.05.26
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "BeThere!"
a=x-qt-text-inf:Channel_000a27000401dc2d_Broadcast
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
Opened URL "rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast", returning a SDP description:
v=0
o=- 1129955484351626 1 IN IP4 192.168.1.104
s=Session streamed by "BeThere!"
i=Channel_000a27000401dc2d_Broadcast
t=0 0
a=tool:LIVE.COM Streaming Media v2005.05.26
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "BeThere!"
a=x-qt-text-inf:Channel_000a27000401dc2d_Broadcast
m=video 0 RTP/AVP 26
c=IN IP4 0.0.0.0
a=control:track1
Created receiver for "video/JPEG" subsession (client ports 56152-56153)
Sending request: SETUP rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast/track1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Date: Sat, Oct 22 2005 04:31:30 GMT
Transport: RTP/AVP/TCP;unicast;destination=192.168.1.1;interleaved=0-1
Session: 1
Setup "video/JPEG" subsession (client ports 56152-56153)
Created output file: "video-JPEG-1"
Sending request: PLAY rtsp://69.90.55.159:8554/
Channel_000a27000401dc2d_Broadcast RTSP/1.0
CSeq: 4
Session: 1
Range: npt=0.000-
User-Agent: /Applications/openRTSP (LIVE.COM Streaming Media
v2004.07.22)
Received PLAY response: RTSP/1.0 200 OK
CSeq: 4
Date: Sat, Oct 22 2005 04:31:30 GMT
Range: npt=0.000-
Session: 1
RTP-Info: url=rtsp://192.168.1.104:8554/
Channel_000a27000401dc2d_Broadcast/track1;seq=18970;rtptime=2199591768
Started playing session
Receiving streamed data (signal with "kill -HUP 3837" or "kill -USR1
3837" to terminate)...
==============================================================
Also, I looked at the resulting file, and it had an intact JPEG. Only
one. I assume it writes the last frame received, overwriting the
previous frame?
Anyway, it looks like I need to figure out where to hook in my
client, and I'm ok,I think.
Thanks,
Neil Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20051022/a5e81c23/attachment.html
More information about the live-devel
mailing list