当前位置:网站首页>NVR硬盘录像机通过国标GB28181协议接入EasyCVR,设备通道信息不显示是什么原因?
NVR硬盘录像机通过国标GB28181协议接入EasyCVR,设备通道信息不显示是什么原因?
2022-07-07 21:33:00 【EasyCVR】
EasyCVR视频融合云平台可支持的接入协议与设备类型十分广泛 ,包括国标GB28181协议、RTSP/Onvif、RTMP等,还支持厂家私有协议及SDK,包括HIKSDK、DAHUA、海康Ehome等。平台可分发RTSP、RTMP、FLV、HLS、WebRTC等格式的视频流,能实现全终端、全平台覆盖。

有用户反馈,在EasyCVR平台中,通过国标GB28181协议接入NVR硬盘录像机,但是平台没有显示设备通道信息。针对该情况我们进行了排查。
排查时发现,刷新通道信息时,设备发送了catalog,但是EasyCVR没有解析全该catalog消息。通过抓包分析了解到,这个catalog消息有3717bytes,经过网络传输自动分包发送了,导致EasyCVR不能读取到完整的包数据,从而不能显示通道。

在代码中发现,EasyCVR读取TCP数据包时,并没有处理TCP分包的情况。那么需要在此处进行优化,在读TCP数据时,判断是否是分包:

按此方法优化后,该用户接入的NVR设备信息已经能正常显示了。
EasyCVR可在复杂的网络环境中,将分散的各类视频资源进行统一汇聚、整合、集中管理。在视频能力上,EasyCVR可实现视频实时监控直播、云端录像、云存储、回放与检索、智能告警、视频快照、视频转码与分发、平台级联等等。

平台基于云边端一体化架构,将复杂多变的底层资源统一管理起来,并能合理调度资源、共享信息、数据交互,让系统变得更高效、稳定,实现各模块更好地协作。感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- Restore backup data on persistent volumes
- 201215-03-19—cocos2dx内存管理–具体解释「建议收藏」
- 【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
- 恶魔奶爸 C
- Static analysis of software defects codesonar 5.2 release
- Introduction to referer and referer policy
- Is embedded system really safe? [how does onespin comprehensively solve the IC integrity problem for the development team]
- 反诈困境,国有大行如何破局?
- Demon daddy C
- How does codesonar help UAVs find software defects?
猜你喜欢
![[C language] advanced pointer --- do you really understand pointer?](/img/ee/79c0646d4f1bfda9543345b9da0f25.png)
[C language] advanced pointer --- do you really understand pointer?
Usage of MySQL subquery keywords (exists)

C language helps you understand pointers from multiple perspectives (1. Character pointers 2. Array pointers and pointer arrays, array parameter passing and pointer parameter passing 3. Function point

恶魔奶爸 B3 少量泛读,完成两万词汇量+

Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future

How does codesonar help UAVs find software defects?
Lex & yacc of Pisa proxy SQL parsing

Details of C language integer and floating-point data storage in memory (including details of original code, inverse code, complement, size end storage, etc.)

Jenkins user rights management
Codesonar enhances software reliability through innovative static analysis
随机推荐
Ubuntu安装mysql8遇到的问题以及详细安装过程
What are the official stock trading apps in the country? Is it safe to use
Codesonar enhances software reliability through innovative static analysis
POJ 3140 contents division "suggestions collection"
UVA 11080 – Place the Guards(二分图判定)
Restore backup data on persistent volumes
恶魔奶爸 C
Deadlock conditions and preventive treatment [easy to understand]
sqlHelper的增删改查
npm uninstall和rm直接删除的区别
MinGW MinGW-w64 TDM-GCC等工具链之间的差别与联系「建议收藏」
Code of "digital image processing principle and Practice (matlab version)" part2[easy to understand]
反诈困境,国有大行如何破局?
Default constraint and zero fill constraint of MySQL constraint
Can Huatai Securities achieve Commission in case of any accident? Is it safe to open an account
2022年在启牛开中银股票的账户安全吗?
目标:不排斥 yaml 语法。争取快速上手
Use br to back up tidb cluster data to azure blob storage
The maximum number of meetings you can attend [greedy + priority queue]
C language helps you understand pointers from multiple perspectives (1. Character pointers 2. Array pointers and pointer arrays, array parameter passing and pointer parameter passing 3. Function point