当前位置:网站首页>What is the reason why easycvr can't watch the device video when it is connected to the home protocol?
What is the reason why easycvr can't watch the device video when it is connected to the home protocol?
2022-06-29 00:53:00 【EasyCVR】
EasyCVR The platform supports massive video convergence and management 、 Handling and distribution 、 Intelligent analysis and other video capabilities , On the access protocol , Not only support the national standard GB28181 agreement 、RTSP/Onvif、RTMP Standard agreement , And support HIKSDK、 Dahua SDK、 The sea, Ehome Such as the factory furniture has an agreement with SDK. The platform is based on the cloud edge end integration architecture , Unified management of complex and changeable underlying resources , And can reasonably schedule resources 、 Share Information 、 Data interaction , Make the system more efficient 、 Stable , Achieve better collaboration among modules .

EasyCVR Platform support through GB/T28181、Ehome Agreement from Haikang 、 Dahua 、 Yushi and other cameras 、 Network hard disk video recorder NVR And so on , Press device 、 passageway 、 Date acquisition: retrieve and replay the corresponding video files , There is no need to install video playback plug-ins of various security manufacturers .
There's user feedback ,EasyCVR Access Ehome Agreed devices , There is a situation that the device video cannot be viewed , Ask us for assistance in troubleshooting . Today, I would like to share with you the troubleshooting and solution process .

During the investigation, it was found that , When the front end plays the video of the device , Send the request to the back end , But the back end is not forwarded to the device , As a result, the device video cannot be viewed .
Add the following code , Can be Ehome The device video queried by the protocol access device , Pass in the corresponding file name to the device during playback , According to the stream data from the callback , Push to the corresponding kernel address , Finally, return the playback address to the front end .

f := func() (string, int, error) {
ret, err := dev.PlaybackStart(channel, smshost, playbackPort, name, offset)
if err == nil {
// Update playback information
obj := &ehomedo.EhomeChannelPlayback{
ID: 0,
ChannelID: fmt.Sprintf("%d", channel),
DeviceID: devID,
FileName: name,
Offset: offset,
PlaybackHandle: -1,
SessionID: ret,
CreatedAt: utils.DateTime{},
UpdatedAt: utils.DateTime{},
}
ehomedo.GetChannelPlaybackDao().Update(obj)
// Channel parameters
channelInfo, err := ehomedo.GetChannelDao().Get(obj.ChannelID, devID)
After modification , Try playing again , The device video has been displayed normally .

EasyCVR Excellent video ability is reflected in its rich video functions 、 Low delay transmission 、 All terminal compatible 、 Support a variety of network environments and other aspects , The video functions that the platform can realize include video monitoring live broadcast 、 Cloud video 、 Cloud storage 、 Video retrieval and review 、 Intelligent alarm 、 Platform cascade, etc , It can be used in smart factories 、 Smart construction site 、 Intelligent Security 、 Smart campus 、 Intelligent water conservancy and other scenes . Interested users can go to the demonstration platform for experience or deployment testing .

边栏推荐
- Analysis Framework -- establishment of user experience measurement data system
- [MCU club] design of GSM version of range hood based on MCU [simulation design]
- EasyCVR服务private.pem文件被清空,导致无法正常启动该如何处理?
- 光纤滑环价格过高的原因
- [MCU club] design of classroom number detection based on MCU [simulation design]
- Pinhole camera with added lens
- Redis common command manual
- 启牛学堂帮忙开证券账户是安全靠谱的吗?个人如何开
- 架构实战营|模块5
- User login (remember the user) & user registration (verification code) [using cookie session technology]
猜你喜欢
![[image registration] SAR image registration based on particle swarm optimization Improved SIFT with matlab code](/img/b5/02979b50db885f0606dce455182ac4.jpg)
[image registration] SAR image registration based on particle swarm optimization Improved SIFT with matlab code
How does the JVM bottom layer implement synchronized

接雨水系列问题

How to calculate the income tax of foreign-funded enterprises

【leetcode】17. Letter combination of telephone number

Nodejs installation and download

Install MySQL on Windows platform (with Navicat premium 12 "using" tutorial)

Précautions d'installation et d'utilisation des joints rotatifs

Cross domain problem of canvas drawing caused by background image cache

同期群分析是什么?教你用 SQL 来搞定
随机推荐
Is it safe and reliable for qiniu school to help open a securities account? How to drive
深度优先搜索实现抓牛问题
[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter
SCP copy folder
EasyCVR集群版本替换成老数据库造成的服务崩溃是什么原因?
Click hijack: X-FRAME-OPTIONS is not configured
Drawing ECG curve with WPF
盘点 6 月 yyds 的开源项目!
Comparison between winding process and lamination process
[agile 5.1] core of planning: user stories
Program environment and pretreatment
戴口罩人脸数据集和戴口罩人脸生成方法
Bmfont make bitmap font and use it in cocoscreator
Check the open source projects of yyds in June!
Redis常用命令手册
【UVM】我的 main_phase 都跑完了,为啥 case 无法退出?太不讲道理!
成功解决(机器学习分割数据问题):ModuleNotFoundError: No module named ‘sklearn.cross_validation‘
Basic use of Chrome browser
Use and principle of handlerthread
Précautions d'installation et d'utilisation des joints rotatifs