当前位置:网站首页>What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
2022-07-06 17:49:00 【EasyCVR】
EasyCVR It is the video management platform with the widest access protocol , In addition to the standard protocol GB28181、RTSP/Onvif、RTMP etc. , It also supports the private agreement of the manufacturer and SDK, Like Haikang Ehome、 The sea, SDK、 Dahua SDK etc. . The platform supports massive video convergence and management , Based on cloud edge end integration architecture , Powerful data access 、 Processing and distribution capabilities , Functionally , It can provide live video 、 Cloud video 、 Cloud storage 、 Video retrieval and review 、 Intelligent alarm 、 Platform cascading 、 Intelligent analysis, etc .

We found in our tests that ,EasyCVR After the access device of turns on the audio , There is a situation that cannot be played , So we checked this .
Analyze the causes during troubleshooting , It's because the program doesn't parse the audio data sent by the device .



Add the following reference code , Set channel audio parameters , Pass it to the device to play , Then in the callback data sent by the device , Analyze the specific audio and video data , Then transcode and play .

multi := utils.Conf().Section("ehome").Key("enable_realplay_multi_port").MustInt(0)
if multi == 0 {
enableEHomeChannel(channel, devID, 1, false)
return enableEHomeChannel(channel, devID, 0, false)
} else {
playPortPoolLock.Lock()
defer playPortPoolLock.Unlock()
port := setPort(devID, channel, 1, 0)
enableEHomeChannelV2(channel, devID, 1, port, false)
port = setPort(devID, channel, 0, 0)
return enableEHomeChannelV2(channel, devID, 0, port, false)
}
Test the playback again , At this time, the video can be played normally .

EasyCVR The platform can be used in complex network environment , Gather all kinds of scattered video resources in a unified way 、 Integrate 、 centralized management , Realize the authentication management of video resources 、 Read on demand 、 Network wide distribution 、 Intelligent analysis, etc , around “ Video convergence 、 Data fusion 、 Share, share ” principle , Empower video capabilities to various industries and fields , Meet the needs of diversified business scenarios .
边栏推荐
- Summary of Android interview questions of Dachang in 2022 (I) (including answers)
- sql语句优化,order by desc速度优化
- 重磅!蚂蚁开源可信隐私计算框架“隐语”,主流技术灵活组装、开发者友好分层设计...
- SQL statement optimization, order by desc speed optimization
- 微信小程序获取手机号
- Awk command exercise
- Easy introduction to SQL (1): addition, deletion, modification and simple query
- Quick start of Hongmeng system
- The problem of "syntax error" when uipath executes insert statement is solved
- Flink analysis (I): basic concept analysis
猜你喜欢

EasyCVR电子地图中设备播放器loading样式的居中对齐优化
![[getting started with MySQL] fourth, explore operators in MySQL with Kiko](/img/11/66b4908ed8f253d599942f35bde96a.png)
[getting started with MySQL] fourth, explore operators in MySQL with Kiko

Spark calculation operator and some small details in liunx

Zen integration nails, bugs, needs, etc. are reminded by nails

EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?

Pyspark operator processing spatial data full parsing (4): let's talk about spatial operations first

There is a gap in traditional home decoration. VR panoramic home decoration allows you to experience the completion effect of your new house

Flink analysis (II): analysis of backpressure mechanism

After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer

FlutterWeb瀏覽器刷新後無法回退的解决方案
随机推荐
网络分层概念及基本知识
Xin'an Second Edition: Chapter 23 cloud computing security requirements analysis and security protection engineering learning notes
分布式不来点网关都说不过去
开源与安全的“冰与火之歌”
connection reset by peer
FlutterWeb浏览器刷新后无法回退的解决方案
面试突击63:MySQL 中如何去重?
Unity小技巧 - 绘制瞄准准心
Alibaba brand data bank: introduction to the most complete data bank
yarn : 无法加载文件 D:\ProgramFiles\nodejs\yarn.ps1,因为在此系统上禁止运行脚本
Wordcloud colormap color set and custom colors
Binary search strategy
Kernel link script parsing
Wechat applet obtains mobile number
Development and practice of lightweight planning service tools
EasyCVR授权到期页面无法登录,该如何解决?
Flink parsing (V): state and state backend
Summary of study notes for 2022 soft exam information security engineer preparation
FlutterWeb瀏覽器刷新後無法回退的解决方案
02 personal developed products and promotion - SMS platform