当前位置:网站首页>EasyCVR通过国标GB28181协议接入设备,出现设备自动拉流是什么原因?
EasyCVR通过国标GB28181协议接入设备,出现设备自动拉流是什么原因?
2022-07-01 17:48:00 【TSINGSEE青犀视频】
EasyCVR在接入协议上,不仅支持国标GB28181协议、RTSP/Onvif、RTMP等标准协议,还支持HIKSDK、大华SDK、海康Ehome等厂家私有协议与SDK,可分发RTSP、RTMP、FLV、HLS、WebRTC等多种格式的视频流。平台可灵活拓展,能实现的视频功能包括:视频监控直播、云端录像、云存储、录像检索与回看、智能告警、平台级联等。近期我们正在对EasyCVR进行新功能的拓展,比如服务器集群、视频轮巡、H.265转码H.264、电子地图与轨迹跟踪等等,欢迎大家关注我们的更新。
有用户反馈,使用EasyCVR平台的过程中,通过国标GB28181协议将设备接入,出现了自动拉流的现象,请求我们排查协助。今天我们来分享一下排查及解决方法。
我们初步判断可能是设备某些信令触发了平台拉流。
于是通过抓包查看,可以看到,当设备经纬度变化时,平台在拉流获取设备的GPS位置快照信息。
针对上述情况,可做如下优化:在设备GPS经纬度变化时,判断地图是否实时变化,依据该条件来决定是否拉流获取快照。参考代码如下:
for _, v := range channels {
cha := cvrservice.GetDeviceService().GetDBChannelGBId(v.DeviceID, v.ID)
if cha != nil {
ParentDeviceID := strconv.Itoa(int(cha.ParentDeviceID))
ChannelID := strconv.Itoa(int(cha.ChannelID))
_gps := models.Gps{
DeviceID: ParentDeviceID,
ChannelID: ChannelID,
Longitude: Longitude,
Latitude: Latitude,
GBDeviceID: v.DeviceID,
GBChannelID: v.ID,
}
_, err := models.AddGps(&_gps)
if err != nil {
log.Println("add gps error :", err.Error())
}
}优化后再次测试,播放已经恢复了正常。
EasyCVR平台支持海量视频接入汇聚,通过将分散的视频资源统一汇聚并集中管理,实现对资源的整合、处理及分发,结合各应用场景,实现资源共享、联动共管。平台可对外提供统一的服务API接口,实现连接设备、连接数据、连接应用,便于第三方平台快速集成。
随着AI技术的不断应用,EasyCVR平台也在积极融入视频智能检测分析技术,包括人脸检测、人脸识别、人流量统计、车辆检测与识别、车牌识别、行为识别、轨迹追踪等等。对EasyCVR平台感兴趣的用户,可以前往演示平台进行体验或部署测试。
边栏推荐
- Fresh, 2022 advanced Android interview must know 100 questions (interview questions + answer analysis)
- Detailed explanation of string's trim() and substring()
- From comedians to NBA Zhan Huang, check the encrypted advertisements during this super bowl
- PETRv2:一个多摄像头图像3D感知的统一框架
- ACL 2022 | decomposed meta learning small sample named entity recognition
- 麦趣尔:媒体报道所涉两批次产品已下架封存,受理消费者诉求
- Gold, silver and four job hopping, interview questions are prepared, and Ali becomes the champion
- 網上股票開戶安全嗎?是否可靠?
- Penetration practice vulnhub range Keyring
- 开发那些事儿:EasyCVR集群设备管理页面功能展示优化
猜你喜欢
![[PHP foundation] realize the connection between PHP and SQL database](/img/eb/c8953eddfe3b19b0adb5529957d275.jpg)
[PHP foundation] realize the connection between PHP and SQL database

Countdownlatch blocking wait for multithreading concurrency

Debiasing word embeddings | talking about word embedding and deviation removal # yyds dry goods inventory #

New patent applications and transfers

在MeterSphere接口测试中如何使用JMeter函数和MockJS函数

How to write good code - Defensive Programming Guide

Gold, silver and four want to change jobs, so we should seize the time to make up

Gold, silver and four job hopping, interview questions are prepared, and Ali becomes the champion

Apache iceberg source code analysis: schema evolution

Vulnhub range hacksudo Thor
随机推荐
Source code of new campus errand / campus task platform on mutual station
In depth evaluation and development trend prediction report of China's ice cream market (2022 Edition)
Gameframework eating guide
Yyds dry inventory MySQL RC transaction isolation level implementation
Htt [ripro network disk link detection plug-in] currently supports four common network disks
手机开户股票开户安全吗?那么开户需要带些什么?
(27) Open operation, close operation, morphological gradient, top hat, black hat
PHP实现敏感词过滤系统「建议收藏」
换掉UUID,NanoID更快更安全!
vulnhub靶场-Hacker_Kid-v1.0.1
Research Report on development prediction and investment direction of nylon filament sewing thread in China (2022 Edition)
整形数组合并【JS】
Heavy disclosure! Hundreds of important information systems have been invaded, and the host has become a key attack target
(16) ADC conversion experiment
开发那些事儿:EasyCVR集群设备管理页面功能展示优化
Leetcode records - sort -215, 347, 451, 75
Vulnhub range hacker_ Kid-v1.0.1
中国乙腈市场预测与战略咨询研究报告(2022版)
Nielseniq found that 60% of the re launched products had poor returns
RadHat搭建内网YUM源服务器