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

rtsp vlc交互实例

时间:2020-06-29 13:34:09      阅读:34      评论:0      收藏:0      [点我收藏+]

标签:ide   out   交互   timeout   video   min   setup   option   app   

rtsp://127.0.0.1:8554
accept client;client ip:127.0.0.1,client port:52770
---------------C->S--------------
OPTIONS rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, DESCRIBE, SETUP, PLAY

---------------C->S--------------
DESCRIBE rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Accept: application/sdp

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://127.0.0.1:8554
Content-type: application/sdp
Content-length: 125

v=0
o=- 91593403991 1 IN IP4 127.0.0.1
t=0 0
a=control:*
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=control:track0
---------------C->S--------------
SETUP rtsp://127.0.0.1:8554/track0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Transport: RTP/AVP;unicast;client_port=50464-50465

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 4
Transport: RTP/AVP;unicast;client_port=50464-50465;server_port=55532-55533
Session: 66334873

---------------C->S--------------
PLAY rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Session: 66334873
Range: npt=0.000-

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 5
Range: npt=0.000-
Session: 66334873; timeout=60

---------------C->S--------------
TEARDOWN rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Session: 66334873

accept client;client ip:127.0.0.1,client port:52771
---------------C->S--------------
OPTIONS rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 2
Public: OPTIONS, DESCRIBE, SETUP, PLAY

---------------C->S--------------
DESCRIBE rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Accept: application/sdp

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://127.0.0.1:8554
Content-type: application/sdp
Content-length: 125

v=0
o=- 91593404002 1 IN IP4 127.0.0.1
t=0 0
a=control:*
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=control:track0
---------------C->S--------------
SETUP rtsp://127.0.0.1:8554/track0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 4
Transport: RTP/AVP;unicast;client_port=0-1;server_port=55532-55533
Session: 66334873

---------------C->S--------------
PLAY rtsp://127.0.0.1:8554 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22)
Session: 66334873
Range: npt=0.000-

---------------S->C--------------
RTSP/1.0 200 OK
CSeq: 5
Range: npt=0.000-
Session: 66334873; timeout=60

---------------C->S--------------
$parse err

rtsp vlc交互实例

标签:ide   out   交互   timeout   video   min   setup   option   app   

原文地址:https://www.cnblogs.com/xpylovely/p/13207347.html

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