GB28181协议——摄像机语⾳对讲
⼤华摄像机⽀持跨⽹对讲
⼤华摄像机⾳频对讲不需要同事播放视频;
⼤华摄像机对讲⽀持ndrecv;
主动发送invite发送到摄像机 ,收到200回复后,再发送ack到摄像机; 接下会收到来⾃摄像机的⾳频数据,此时可以获取到udp ip地址(peer_ip) 和 端⼝(peer_port),udp peer_ip 和 peer_port 发送⾳频数据到摄像机。
⼤华摄像机对讲接收发送⾳频数据的udp端⼝是同⼀个端⼝,因此,⼤华摄像机能够⽀持跨⽹对讲。
⾮⼤华摄像机,对讲仅局域⽹有效
⽬录
看⽂档
前端语⾳输出设备: 摄像机IPC ⾳频输出接⼝连接的⾳箱
配置摄像机GB28181:⾳频通道编码ID : 34020000001370000001 (必须137 ⽂档第3段)
设备是否具备语⾳输出能⼒?
⽂档第2段; 如下:设备⽬录查询应答消息
MESSAGE sip:34020000002000000001@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.64:5060;rport;branch=z9hG4bK564971777 From: <34020000001110000001@3402000000>;tag=173379301 To: <34020000002000000001@3402000000>
Call-ID: 268626630
CSeq: 20 MESSAGE
危险的英文Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
Ur-Agent: IP Camera
Content-Length: 967
textpattern
<?xml version="1.0" encoding="GB2312"?>
<Respon>
<CmdType>Catalog</CmdType>
<SN>837438569</SN>
考级培训<DeviceID>34020000001110000001</DeviceID>
<SumNum>2</SumNum>
<DeviceList Num="2">
<Item>
<DeviceID>34020000001310000001</DeviceID>
<Name>Camera 01</Name>
<Manufacturer>Hikvision</Manufacturer>
<Model>IP Camera</Model>
<Owner>Owner</Owner>
<CivilCode>3402000000</CivilCode>
<Address>Address</Address>
<Parental>0</Parental>
<ParentID>34020000002000000001</ParentID>
<SafetyWay>0</SafetyWay>
<RegisterWay>1</RegisterWay>
<Secrecy>0</Secrecy>
<Status>ON</Status>
nuaa</Item>
<Item>
<!--语⾳输出设备的设备编码/⾳频通道编码ID-->
<DeviceID>34020000001370000001</DeviceID>
<Name></Name>
<Manufacturer>Hikvision</Manufacturer>
<!--⾳频输出-->
<Model>AudioOut</Model>
<Owner>Owner</Owner>
<CivilCode>3402000000</CivilCode>
<Address>Address</Address>
<Parental>0</Parental>
<ParentID>34020000001110000001</ParentID>
<SafetyWay>0</SafetyWay>
<RegisterWay>1</RegisterWay>
<Secrecy>0</Secrecy>
<Status>ON</Status>
</Item>
</DeviceList>
</Respon>
mba什么意思关于对讲
实时⾳视频点播 + 语⾳⼴播 = 语⾳对讲
成都游戏培训语⾳⼴播
⼴播通知
》》》》》》 IPC
MESSAGE sip:34020000001110000001@3402000000 SIP/2.0
From: <34020000002000000001@3402000000>;tag=bccedfd000006
To: <34020000001110000001@3402000000>
Content-Length: 176
CSeq: 5 MESSAGE
Route: <34020000001110000001>美国乡村音乐
Call-ID: 12345678900006
Via: SIP/2.0/UDP 192.168.1.101:5060;wlsscid=377aa9afcf1b36f;branch=123133532300006 Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
<?xml version="1.0"?>
<Notify>
<CmdType>Broadcast</CmdType>
<SN>17298</SN>
<!--语⾳输⼊设备的设备编码-->
<SourceID>34020000002000000001</SourceID>
<!--语⾳输出设备的设备编码-->
<TargetID>34020000001370000001</TargetID>
</Notify>
《《《《《《 IPC
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.101:5060;wlsscid=377aa9afcf1b36f;branch=123133532300006 From: <34020000002000000001@3402000000>;tag=bccedfd000006
To: <34020000001110000001@3402000000>;tag=880670885
Call-ID: 12345678900006
CSeq: 5 MESSAGE
降价英文
Ur-Agent: IP Camera
fpga是什么Content-Length: 0
⼴播通知结果
《《《《《《 IPC
MESSAGE sip:34020000002000000001@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.64:5060;rport;branch=z9hG4bK2058843697
From: <34020000001110000001@3402000000>;tag=477173126
To: <34020000002000000001@3402000000>
Call-ID: 69994435
CSeq: 20 MESSAGE
Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
Ur-Agent: IP Camera
Content-Length: 169
<?xml version="1.0" encoding="GB2312"?>
<Respon>
<CmdType>Broadcast</CmdType>
<SN>17298</SN>
<!--语⾳输出设备的设备编码-->
<DeviceID>34020000001370000001</DeviceID>
<Result>OK</Result>知足常乐 英文
</Respon>
》》》》》》 IPC
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.64:5060;rport;branch=z9hG4bK2058843697
To: <34020000002000000001@3402000000>;tag=12341241234
From: <34020000001110000001@3402000000>;tag=477173126
Call-ID: 69994435
CSeq: 20 MESSAGE
Ur-Agent: General
Content-Length: 0