码迷,mamicode.com
首页 > 其他好文 > 详细

VLC 播放RTSP 抓包分析

时间:2017-10-18 11:14:23      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:vlc 播放rtsp 抓包分析


VLC 播放RTSP视频抓包记录:

vlc -vvv rtsp://172.16.66.22/nuc.sdp




OPTIONS:
	OPTIONS rtsp://172.16.66.22/nuc.sdp RTSP/1.0
	CSeq: 2
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 2
	Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD
	
			
DESCRIBE:			
	DESCRIBE rtsp://172.16.66.22/nuc.sdp RTSP/1.0
	CSeq: 3
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	Accept: application/sdp
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 3
	Cache-Control: no-cache
	Content-length: 568
	Date: Wed, 18 Oct 2017 02:13:28 GMT
	Expires: Wed, 18 Oct 2017 02:13:28 GMT
	Content-Type: application/sdp
	x-Accept-Retransmit: our-retransmit
	x-Accept-Dynamic-Rate: 1
	Content-Base: rtsp://172.16.66.22/nuc.sdp/

	v=0
	o=- 0 0 IN IP4 127.0.0.1
	s=No Name
	c=IN IP4 0.0.0.0
	t=0 0
	a=tool:libavformat 57.71.100
	a=control:*
	m=video 0 RTP/AVP 96
	b=AS:3011
	a=3GPP-Adaptation-Support:1
	a=rtpmap:96 H264/90000
	a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAH6zZgFAFuhAAAAMAEAAAAwOo8YMZoA==,aOl7PI8=; profile-level-id=64001F
	a=control:trackID=0
	m=audio 0 RTP/AVP 97
	b=AS:127
	a=3GPP-Adaptation-Support:1
	a=rtpmap:97 MPEG4-GENERIC/48000/2
	a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=119056E500
	a=control:trackID=1

			
			
SETUP:			
	SETUP rtsp://172.16.66.22/nuc.sdp/trackID=0 RTSP/1.0
	CSeq: 4
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	Transport: RTP/AVP;unicast;client_port=61296-61297
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 4
	Cache-Control: no-cache
	Session: 6250823492717837688
	Date: Wed, 18 Oct 2017 02:13:28 GMT
	Expires: Wed, 18 Oct 2017 02:13:28 GMT
	Transport: RTP/AVP;unicast;source=172.16.66.22;client_port=61296-61297;server_port=6970-6971

	
SETUP:
	SETUP rtsp://172.16.66.22/nuc.sdp/trackID=1 RTSP/1.0
	CSeq: 5
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	Transport: RTP/AVP;unicast;client_port=61298-61299
	Session: 6250823492717837688
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 5
	Session: 6250823492717837688
	Cache-Control: no-cache
	Date: Wed, 18 Oct 2017 02:13:28 GMT
	Expires: Wed, 18 Oct 2017 02:13:28 GMT
	Transport: RTP/AVP;unicast;source=172.16.66.22;client_port=61298-61299;server_port=6970-6971

			
PLAY:
	PLAY rtsp://172.16.66.22/nuc.sdp/ RTSP/1.0
	CSeq: 6
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	Session: 6250823492717837688
	Range: npt=0.000-
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 6
	Session: 6250823492717837688
	Range: npt=now-
	RTP-Info: url=rtsp://172.16.66.22/nuc.sdp/trackID=0,url=rtsp://172.16.66.22/nuc.sdp/trackID=1

	.
	.
	.
	.
	.
	.
	
TEARDOWN:			
	TEARDOWN rtsp://172.16.66.22/nuc.sdp/ RTSP/1.0
	CSeq: 7
	User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
	Session: 6250823492717837688
	--------------------------------------------------------------------------
	RTSP/1.0 200 OK
	Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
	Cseq: 7
	Session: 6250823492717837688
	Connection: Close


本文出自 “李春利” 博客,请务必保留此出处http://990487026.blog.51cto.com/10133282/1973660

VLC 播放RTSP 抓包分析

标签:vlc 播放rtsp 抓包分析

原文地址:http://990487026.blog.51cto.com/10133282/1973660

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!