ONVIF流媒體播放流程

來源:互聯網
上載者:User

標籤:des   blog   http   io   2014   re   

live55播放器:

rtsp://192.168.1.120:554/snl/live/1/3

單擊播放按鈕:

第一次:

OPTIONS rtsp://192.168.1.120:554/snl/live/1/3 RTSP/1.0

CSeq: 2 User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

 

RTSP/1.0 200 OK

CSeq: 2

Date: Tue, Jul 22 2014 08:38:20 GMT

Public: DESCRIBE, PAUSE, PLAY, SETUP, TEARDOWN, OPTIONS, SET_PARAMETER

 

第二次:

DESCRIBE rtsp://192.168.1.120:554/snl/live/1/3 RTSP/1.0

CSeq: 3

User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

Accept: application/sdp

 

RTSP/1.0 200 OK

CSeq: 3

User-Agent: NVT

Content-Type: application/sdp

Content-Length: 405

Content-Base: rtsp://192.168.1.120/snl/live/1/3/

v=0 o=admin 38503 38504 IN IP4 192.168.1.120

s=NVT i=From NVT c=IN IP4 192.168.1.120

t=0 0 a=range:npt=now-

a=control:rtsp://192.168.1.120/snl/live/1/3/

m=video 0 RTP/AVP 26

b=AS:0

a=rtpmap:26 JPEG/90000

a=framesize:26 1280-960

a=framerate:4.0

a=control:trackID=0

a=recvonly m=audio 0 RTP/AVP 0

a=rtpmap:0 PCMU/8000

a=fmtp:0

octet-align=1;

decode_buf=400

a=control:trackID=1 a=recvonly

 

第三次:

SETUP rtsp://192.168.1.120/snl/live/1/3/trackID=0 RTSP/1.0

CSeq: 4

User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

Transport: RTP/AVP;unicast;client_port=57764-57765

 

RTSP/1.0 200 OK

CSeq: 4 Date: Tue, Jul 22 2014 08:38:20 GMT

User-Agent: NVT

Session: 2721006597;

timeout=60

Transport: RTP/AVP;

unicast;

client_port=57764-57765;

server_port=2078-2079;

ssrc=32974f77;

mode=play

 

第四次:

SETUP rtsp://192.168.1.120/snl/live/1/3/trackID=1 RTSP/1.0

CSeq: 5

User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

Transport: RTP/AVP;unicast;client_port=57766-57767

Session: 2721006597

 

RTSP/1.0 200 OK

CSeq: 5 Date: Tue, Jul 22 2014 08:38:20 GMT

User-Agent: NVT

Session: 2721006597;

timeout=60 Transport:

RTP/AVP;unicast;

client_port=57766-57767;

server_port=2080-2081;ssrc=32974f77;

mode=play

 

第五次:

PLAY rtsp://192.168.1.120/snl/live/1/3/ RTSP/1.0

CSeq: 6

User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

Session: 2721006597

Range: npt=0.000-

 

RTSP/1.0 200 OK

CSeq: 6

Date: Tue, Jul 22 2014 08:38:20 GMT

User-Agent: NVT RTP-Info:

url=rtsp://192.168.1.120/snl/live/1/3//trackID=0,url=rtsp://192.168.1.120/snl/live/1/3//trackI

D=1 Range: npt=now- Session: 2721006597

第六次:

TEARDOWN rtsp://192.168.1.120/snl/live/1/3/ RTSP/1.0

CSeq: 7

User-Agent: LibVLC/2.1.3 (LIVE555 Streaming Media v2014.01.21)

Session: 2721006597

 

RTSP/1.0 200 OK

CSeq: 7 Date: Tue, Jul 22 2014 08:41:52 GMT

User-Agent: NVT

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.