EasyGBS查找大华设备的录像列表时页面提示query recordinfo return 400 Bad Request
通过抓包和对比GB28181协议文档时发现发送RecordInfo消息时 xml消息中缺少Type节点
RecordInfo xml消息中增加一个值为all的文本元素节点Type
示例:
MESSAGE sip:34020000001320000140@192.168.99.140:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.99.120:5060;rport;branch=z9hG4bK171140128
From: <sip:34020000002000000001@3402000000>;tag=363140128
To: <sip:34020000001320000140@192.168.99.140:5060>
Call-ID: 488140128
CSeq: 11 MESSAGE
Max-Forwards: 70
Content-Length: 279
Content-Type: Application/MANSCDP+xml
<?xml version="1.0" encoding="UTF-8"?>
<Query>
<CmdType>RecordInfo</CmdType>
<SN>717140128</SN>
<DeviceID>34020000001320000140</DeviceID>
<StartTime>2019-07-25T00:00:00</StartTime>
<EndTime>2019-07-25T06:00:00</EndTime>
<Type>all</Type>
</Query>
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有