RTSP 大华IPC指令协商

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RTSP 大华IPC指令协商相关的知识,希望对你有一定的参考价值。

OPTIONS rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0

CSeq: 2

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)


RTSP/1.0 401 Unauthorized

CSeq: 2

WWW-Authenticate: Digest realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc"


OPTIONS rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0

CSeq: 3

Authorization: Digest username="admin", realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc", uri="rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0", response="c5763d0826b8604be601cd4313fabf67"

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)


RTSP/1.0 200 OK

CSeq: 3

Server: Rtsp Server/3.0

Public: OPTIONS, DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, TEARDOWN, SET_PARAMETER, GET_PARAMETER


DESCRIBE rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0 RTSP/1.0

CSeq: 4

Authorization: Digest username="admin", realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc", uri="rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0", response="01a7e6e24069c6dc9c1096464c4bbc9b"

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)

Accept: application/sdp


RTSP/1.0 200 OK

CSeq: 4

x-Accept-Dynamic-Rate: 1

Content-Base: rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/

Cache-Control: must-revalidate

Content-Length: 426

Content-Type: application/sdp


v=0

o=RTSP Session 0 0 IN IP4 0.0.0.0

s=Media Server

c=IN IP4 0.0.0.0

t=0 0

a=control:*

a=packetization-supported:DH

a=rtppayload-supported:DH

a=range:npt=now-

m=video 0 RTP/AVP 96

a=control:trackID=0

a=framerate:25.000000

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=1;profile-level-id=4D0029;sprop-parameter-sets=Z00AKZpkA8ARPy4C3AQEBQAAAwPoAADDUOhgAEEeAABBHgu8uNDAAII8AACCPBd5cKA=,aO48gA==

a=recvonly

SETUP rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/trackID=0 RTSP/1.0

CSeq: 5

Authorization: Digest username="admin", realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc", uri="rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/", response="b8e58f3250b3beaee0ad9d651cc4f98c"

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)

Transport: RTP/AVP/TCP;unicast;interleaved=0-1


RTSP/1.0 200 OK

CSeq: 5

Session: 198815701220;timeout=60

Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=2B42B3F4

x-Dynamic-Rate: 1


PLAY rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/ RTSP/1.0

CSeq: 6

Authorization: Digest username="admin", realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc", uri="rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/", response="15b5deb19e72894d4e5b63c823cd8595"

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)

Session: 198815701220

Range: npt=0.000-


RTSP/1.0 200 OK

CSeq: 6

Session: 198815701220

Range: npt=0.000000-

RTP-Info: url=trackID=0;seq=46068;rtptime=46068


GET_PARAMETER rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/ RTSP/1.0

CSeq: 7

Authorization: Digest username="admin", realm="Login to 2F03FD0PAU00387", nonce="72d454c8e034d93b5224ae5e7b1c4dcc", uri="rtsp://192.168.0.196:554/cam/realmonitor?channel=1&subtype=0/", response="aaad1b167914e4e5f792ef03db7599a1"

User-Agent: LibVLC/2.2.4 (LIVE555 Streaming Media v2016.02.22)

Session: 198815701220



以上是关于RTSP 大华IPC指令协商的主要内容,如果未能解决你的问题,请参考以下文章

海康大华RTSP格式

音视频开发:大华摄像头配置RTSP地址访问视频画面

华为海康大华摄像头编译RTSP转RTMP和HTTPFLV

海康/大华 IpCamera RTSP地址和格式

海康大华IpCamera RTSP地址和格式

ffmpeg 推流相关指令