当前位置:网站首页>EasyCVR通过国标GB28181协议接入设备,出现设备自动拉流是什么原因?
EasyCVR通过国标GB28181协议接入设备,出现设备自动拉流是什么原因?
2022-07-01 18:47:00 【EasyCVR】
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平台感兴趣的用户,可以前往演示平台进行体验或部署测试。
边栏推荐
- 118. Yanghui triangle
- Use the uni app demo provided by Huanxin to quickly realize one-on-one chat
- Bind this of the current scope for callback functions in other cases such as timers and delayers
- The key to the success of digital transformation enterprises is to create value with data
- How to correctly use vertx to operate redis (3.9.4 with source code analysis)
- New window open page -window open
- Define dichotomy lookup
- Anaconda installs the virtual environment to the specified path
- Technology T3 domestic platform! Successfully equipped with "Yihui domestic real-time system sylixos"
- Collect Tiktok video
猜你喜欢
Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding
SIP protocol of gb28181
[research materials] national second-hand housing market monthly report January 2022 - Download attached
servlet知识点
DDR4 test-2
[research materials] iResearch tide Watching: seven major trends in the clothing industry - Download attached
JVM内存模型
P2433 [deep foundation 1-2] primary school mathematics n in one
JS 之 常用内置类的使用
产品模块化设计的前世今生
随机推荐
Bao, what if the O & M 100+ server is a headache? Use Xingyun housekeeper!
OpenCV视频质量诊断----视频遮挡诊断
Shell advanced
[research materials] Huawei Technology ICT 2021: at the beginning of the "Yuan" year, the industry is "new" -- download attached
Process steps of vibrating wire acquisition module for measuring vibrating wire sensor
Actual combat of flutter - fast implementation of audio and video call application
Opencv video quality diagnosis - VIDEO occlusion diagnosis
MySQL reports an error can't create table 'demo01 tb_ Student‘ (errno: 150)*
Wechat applet navigator has a shadow after clicking. Remove the shadow effect of navigator
How to use console Log print text?
【let var const】
ffmpeg 错误码
Interview question 16.16 Partial sorting - Double finger needling
事务隔离级别 gap锁 死锁
一个悄然崛起的国产软件,低调又强大!
Example explanation: move graph explorer to jupyterlab
新增订单如何防止重复提交
Audio and video, encoding and decoding related e-books, gadgets, packaged for free!
解决VSCode下载慢或下载失败的问题
wireshark报文分析tcp,ftp