rtsp交互抓包

44次阅读

共计 3391 个字符,预计需要花费 9 分钟才能阅读完成。

服务器使用 zlmediakit 的 test_server, 播放器使用 vlc

OPTIONS rtsp://172.24.20.214/live/0 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)

RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Jul 11 2019 01:25:54 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, RECORD, SET_PARAMETER, GET_PARAMETER
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)

DESCRIBE rtsp://172.24.20.214/live/0 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
Content-Base: rtsp://172.24.20.214/live/0/
Content-Length: 586
Content-Type: application/sdp
CSeq: 3
Date: Thu, Jul 11 2019 01:25:54 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h
x-Accept-Dynamic-Rate: 1
x-Accept-Retransmit: our-retransmit

v=0
o=- 1383190487994921 1 IN IP4 0.0.0.0
s=RTSP Session, streamed by the ZLMediaKit
i=ZLMediaKit Live Stream
c=IN IP4 0.0.0.0
t=0 0
a=range:npt=0-
a=control:*
m=video 0 RTP/AVP 96
b=AS:4000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640015;sprop-parameter-sets=Z2QAFazZAeCW/8AEAAPEAAADAAQAAAMAy4CABKdAA7kpJMAeLFss,aOvvLA==
a=control:trackID=0
m=audio 0 RTP/AVP 98
b=AS:128
a=rtpmap:98 MPEG4-GENERIC/48000
a=fmtp:98 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190
a=control:trackID=1
SETUP rtsp://172.24.20.214/live/0/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=63512-63513

RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Jul 11 2019 01:25:54 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h
Transport: RTP/AVP/UDP;unicast;client_port=63512-63513;server_port=51111-51112;ssrc=18002140

SETUP rtsp://172.24.20.214/live/0/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=63514-63515
Session: r8LYXiKsuS0h

RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Jul 11 2019 01:25:54 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h
Transport: RTP/AVP/UDP;unicast;client_port=63514-63515;server_port=38060-38061;ssrc=18002140

PLAY rtsp://172.24.20.214/live/0/ RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Session: r8LYXiKsuS0h
Range: npt=0.000-

RTSP/1.0 200 OK
CSeq: 6
Date: Thu, Jul 11 2019 01:25:54 GMT
Range: npt=1378.44
RTP-Info: url=rtsp://172.24.20.214/live/0/trackID=0;seq=63588;rtptime=124059690,url=rtsp://172.24.20.214/live/0/trackID=1;seq=64612;rtptime=66164160
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h

GET_PARAMETER rtsp://172.24.20.214/live/0/ RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Session: r8LYXiKsuS0h

RTSP/1.0 200 OK
CSeq: 7
Date: Thu, Jul 11 2019 01:25:54 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h

GET_PARAMETER rtsp://172.24.20.214/live/0/ RTSP/1.0
CSeq: 8
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Session: r8LYXiKsuS0h

RTSP/1.0 200 OK
CSeq: 8
Date: Thu, Jul 11 2019 01:26:52 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h

GET_PARAMETER rtsp://172.24.20.214/live/0/ RTSP/1.0
CSeq: 9
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Session: r8LYXiKsuS0h

RTSP/1.0 200 OK
CSeq: 9
Date: Thu, Jul 11 2019 01:27:50 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h

TEARDOWN rtsp://172.24.20.214/live/0/ RTSP/1.0
CSeq: 10
User-Agent: LibVLC/2.2.6 (LIVE555 Streaming Media v2016.02.22)
Session: r8LYXiKsuS0h

RTSP/1.0 200 OK
CSeq: 10
Date: Thu, Jul 11 2019 01:28:43 GMT
Server: ZLMediaKit-4.0(build in Jul 3 2019 09:54:10)
Session: r8LYXiKsuS0h

正文完
 0