当前位置:网站首页>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 .
边栏推荐
- Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
- Summary of study notes for 2022 soft exam information security engineer preparation
- Interview shock 62: what are the precautions for group by?
- Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)
- Quick start of Hongmeng system
- MySQL 8 sub database and table backup database shell script
- Alibaba brand data bank: introduction to the most complete data bank
- About selenium starting Chrome browser flash back
- Easy introduction to SQL (1): addition, deletion, modification and simple query
- In terms of byte measurement with an annual salary of 30W, automated testing can be learned in this way
猜你喜欢

Unity particle special effects series - treasure chest of shining stars
![[ASM] introduction and use of bytecode operation classwriter class](/img/0b/87c9851e577df8dcf8198a272b81bd.png)
[ASM] introduction and use of bytecode operation classwriter class

【MySQL入门】第四话 · 和kiko一起探索MySQL中的运算符

PySpark算子处理空间数据全解析(5): 如何在PySpark里面使用空间运算接口

scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月

06 products and promotion developed by individuals - code statistical tools
![[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

Grafana 9 is officially released, which is easier to use and more cool!

中移动、蚂蚁、顺丰、兴盛优选技术专家,带你了解架构稳定性保障

2022年大厂Android面试题汇总(二)(含答案)
随机推荐
传统家装有落差,VR全景家装让你体验新房落成效果
Xin'an Second Edition: Chapter 24 industrial control safety demand analysis and safety protection engineering learning notes
学 SQL 必须了解的 10 个高级概念
Alertmanager sends the alarm email and specifies it as the Alibaba mailbox of the company
Unity小技巧 - 绘制瞄准准心
Shell input a string of numbers to determine whether it is a mobile phone number
The problem of "syntax error" when uipath executes insert statement is solved
Yarn: unable to load file d:\programfiles\nodejs\yarn PS1, because running scripts is prohibited on this system
PySpark算子处理空间数据全解析(5): 如何在PySpark里面使用空间运算接口
The art of Engineering (2): the transformation from general type to specific type needs to be tested for legitimacy
connection reset by peer
Flink parsing (IV): recovery mechanism
Essai de pénétration du Code à distance - essai du module b
FlutterWeb瀏覽器刷新後無法回退的解决方案
BearPi-HM_ Nano development board "flower protector" case
TCP连接不止用TCP协议沟通
Unity tips - draw aiming Center
RepPoints:可形变卷积的进阶
kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
Integrated development management platform