rtsp抓包数据client_port等于0

whdugh 2016-01-20 01:54:27
接入相机码流用的live555 源码库,日志看open success但是没有视频,下面是抓包数据,发现有client_port等于0,是这个原因导致的吗
1parseRTSPURL username:(null), password:(null), destAddress:1204332736, szIp:192.168.200.71, urlPortNum:8557
Try ConnectWithTimeout.
ConnectWithTimeout connect select ok !
Opening connection to 192.168.200.71, port 8557...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.200.71:8557/h264 RTSP/1.0
CSeq: 2
User-Agent: LIVE555 Streaming Media v2013.10.25


Received 112 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: 2016-01-20 13:37:21
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: DESCRIBE rtsp://192.168.200.71:8557/h264 RTSP/1.0
CSeq: 3
User-Agent: LIVE555 Streaming Media v2013.10.25
Accept: application/sdp


Received 589 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: 2016-01-20 13:37:22
Content-Base: rtsp://192.168.200.71:8557/h264/
Content-Type: application/sdp
Content-Length: 434

v=0
o=- 2890844526842807 1 IN IP4 127.0.0.1
s=tanggula test
i=tanggula
t=0 0
a=tool:LIVE555 Streaming Media v2009.09.28
a=type:unicast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from roseek
a=x-qt-text-inf:h264
m=video 0 RTP/AVP 96
c=IN IP4 127.0.0.1
b=AS:6000000
a=rtpmap:96 H264/90000
a=range:npt=0-
a=fmtp:96 packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=h264
a=control:track1

Sending request: SETUP rtsp://192.168.200.71:8557/h264/track1 RTSP/1.0
CSeq: 4
User-Agent: LIVE555 Streaming Media v2013.10.25
Transport: RTP/AVP/TCP;unicast;interleaved=0-1


Received 183 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: 2016-01-20 13:37:22
Transport: RTP/AVP;unicast;destination=192.168.200.151;source=192.168.200.71;client_port=0-0;server_port=6972-6973
Session: 6


Sending request: PLAY rtsp://192.168.200.71:8557/h264/ RTSP/1.0
CSeq: 5
User-Agent: LIVE555 Streaming Media v2013.10.25
Session: 6
Range: npt=0.000-


Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: 2016-01-20 13:37:22
Range: npt=0-
Session: 6
RTP-Info: url=rtsp://192.168.200.71:8557/h264/track1;seq=33633;rtptime=1058580663


[New Thread 0x7fffca5f9700 (LWP 8558)]
===nBytesRead=4096
OpenStream ret:0
[openRtsp]success:URL:rtsp://192.168.200.71:8557/h264,Id=2818574720
...全文
293 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
rightorwrong 2016-01-29
  • 打赏
  • 举报
回复
o=- 2890844526842807 1 IN IP4 127.0.0.1

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧