当前位置:网站首页>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 .
边栏推荐
- The art of Engineering (3): do not rely on each other between functions of code robustness
- Run xv6 system
- Summary of Android interview questions of Dachang in 2022 (I) (including answers)
- PyTorch 提取中间层特征?
- FlutterWeb瀏覽器刷新後無法回退的解决方案
- 在一台服务器上部署多个EasyCVR出现报错“Press any to exit”,如何解决?
- 学 SQL 必须了解的 10 个高级概念
- Debug xv6
- The art of Engineering (1): try to package things that do not need to be exposed
- Establishment of graphical monitoring grafana
猜你喜欢
Integrated development management platform
About selenium starting Chrome browser flash back
学 SQL 必须了解的 10 个高级概念
Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
中移动、蚂蚁、顺丰、兴盛优选技术专家,带你了解架构稳定性保障
Flink parsing (IV): recovery mechanism
Virtual machine startup prompt probing EDD (edd=off to disable) error
[rapid environment construction] openharmony 10 minute tutorial (cub pie)
There is a gap in traditional home decoration. VR panoramic home decoration allows you to experience the completion effect of your new house
随机推荐
Xin'an Second Edition: Chapter 25 mobile application security requirements analysis and security protection engineering learning notes
10 advanced concepts that must be understood in learning SQL
TCP connection is more than communicating with TCP protocol
2022年大厂Android面试题汇总(二)(含答案)
Flink parsing (IV): recovery mechanism
05 personal R & D products and promotion - data synchronization tool
Debug xv6
[translation] principle analysis of X Window Manager (I)
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
微信小程序获取手机号
[getting started with MySQL] fourth, explore operators in MySQL with Kiko
[introduction to MySQL] third, common data types in MySQL
EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
Reppoints: advanced order of deformable convolution
connection reset by peer
Flink parsing (III): memory management
Debug and run the first xv6 program
PyTorch 提取中间层特征?
Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)