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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章