当前位置:网站首页>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-28 17:04:00 【Tsingsee green rhino video】
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 .
边栏推荐
- With high concurrency, high availability and elastic expansion, Tianyi cloud escorts Enterprise Cloud business
- Please ask me, the queries written in my database account for 99%. Is it better to use pay as you go mode or reservation mode?
- 7-用户输入和while循环
- Fs2k face sketch attribute recognition
- 从入门到精通|Yalmip+Cplex在电力系统中的应用(超棒,看不懂算我输,没有收获也算我输)
- 【离散数学】单射、满射与双射
- Js中的Bom
- 【刷题日记】和为 K 的子数组
- EasyCVR播放视频出现卡顿花屏时如何解决?
- PotPlayer播放百度雲盤視頻
猜你喜欢

中国SSD行业企业势力全景图

visio 使用

提升可观测性 - 业务指标监控实践
Super detailed steps for MySQL master-slave switching

「杰伦熊」暴跌96.6% 明星带货NFT为何遇冷?

Fs2k face sketch attribute recognition

Lucky draw animation - Carp jumps over the dragon's gate

本地部署Confluence遇到的问题:MySQL数据库编码、隔离级别、验证码不显示
![[golang] how to install iris](/img/c6/842c4e920a74f9a07c2f6a82bb0cc1.png)
[golang] how to install iris

It's completely cold! Tencent's well-known software was taken off the shelves, and netizens were all sobbing...
随机推荐
[tcapulusdb knowledge base] Introduction to tcapulusdb restrictions
抓取手机端变体组合思路设想
Fs2k face sketch attribute recognition
[force button] 35 Search insert location
区间乘积的因子数之和
[tcapulusdb knowledge base] how webclient users read and modify data
基于DataWorks的时效仿真平台|得物技术
Noip1998-2018 popularization group csp-j2 2019 2020 problem solving report and video
【TcaplusDB知识库】WebClient用户如何读取和修改数据
55. 连续子数组的最大和
PotPlayer播放百度云盘视频
Super detailed steps for MySQL master-slave switching
视比特“AI+3D视觉”产品系列 | 上料装配工作站
[tcapulusdb knowledge base] tcapulusdb technical support introduction
China energy integration and Tianyi cloud create an "energy brain"
WPF video hard decoding, rendering and playing (no airspace) (support 4K, 8K and high frame rate video)
Flex layout
【TcaplusDB知识库】修改业务修改集群cluster
如何在网站上安装 WordPress
offsetwidth\clientwidth\scrollwidth