關於LiveGBS GB28181流媒體服務器的部署詳見https://www.liveqing.com/docs/download/LiveGBS.html。經過LiveGBS流媒體服務能夠實現GB28181接入攝像頭、硬盤錄像機、其餘支持GB28181的視頻平臺,實現網頁無插件直播。html
以下是GB28181註冊成功後設備狀態查詢的信令分析:服務器
一、發送設備信息查詢命令 (服務>> 設備)
MESSAGE sip:34020000001320000264@3402000000 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.135:5060;rport;branch=z9hG4bK818290845 From: <sip:34020000002000000001@3402000000>;tag=23290845 To: <sip:34020000001320000264@3402000000> Call-ID: 298290845 CSeq: 13 MESSAGE Max-Forwards: 70 User-Agent: LiveQing Content-Length: 165 Content-Type: Application/MANSCDP+xml <?xml version="1.0" encoding="UTF-8"?> <Query> <CmdType>DeviceInfo</CmdType> <SN>340290845</SN> <DeviceID>34020000001320000264</DeviceID> </Query>
二、設備響應回覆 (設備>>服務)
SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.135:5060;rport=5060;branch=z9hG4bK818290845 From: <sip:34020000002000000001@3402000000>;tag=23290845 To: <sip:34020000001320000264@3402000000>;tag=334737784 Call-ID: 298290845 CSeq: 13 MESSAGE User-Agent: IP Camera Content-Length: 0
三、國標流媒體服務等待設備上傳設備信息(設備>>服務)
MESSAGE sip:34020000002000000001@3402000000 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK431546301 From: <sip:34020000001320000264@3402000000>;tag=1013752338 To: <sip:34020000002000000001@3402000000> Call-ID: 358460854 CSeq: 20 MESSAGE Content-Type: Application/MANSCDP+xml Max-Forwards: 70 User-Agent: IP Camera Content-Length: 307 <?xml version="1.0" encoding="UTF-8"?> <Response> <CmdType>DeviceInfo</CmdType> <SN>340290845</SN> <DeviceID>34020000001320000264</DeviceID> <Result>OK</Result> <DeviceName>IP CAMERA</DeviceName> <Manufacturer>Hikvision</Manufacturer> <Model>DS-2CD2T20FD-I3</Model> <Firmware>V5.4.41</Firmware> </Response>