rtsp vlc交互实例
Posted xpylovely
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rtsp vlc交互实例相关的知识,希望对你有一定的参考价值。
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交互实例的主要内容,如果未能解决你的问题,请参考以下文章