当前位置:网站首页>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 .
边栏推荐
- 分布式不来点网关都说不过去
- pip install pyodbc : ERROR: Command errored out with exit status 1
- connection reset by peer
- The solution to the left-right sliding conflict caused by nesting Baidu MapView in the fragment of viewpager
- 自动化运维利器ansible基础
- TCP连接不止用TCP协议沟通
- Distributed (consistency protocol) leader election (dotnext.net.cluster implements raft election)
- Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
- Xin'an Second Edition: Chapter 12 network security audit technology principle and application learning notes
- OpenCV中如何使用滚动条动态调整参数
猜你喜欢
Flink parsing (IV): recovery mechanism
【MySQL入门】第四话 · 和kiko一起探索MySQL中的运算符
[translation] principle analysis of X Window Manager (I)
OpenCV中如何使用滚动条动态调整参数
Unity粒子特效系列-闪星星的宝箱
EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)
78 岁华科教授逐梦 40 载,国产数据库达梦冲刺 IPO
Reppoints: advanced order of deformable convolution
The problem of "syntax error" when uipath executes insert statement is solved
随机推荐
The art of Engineering (1): try to package things that do not need to be exposed
Shell input a string of numbers to determine whether it is a mobile phone number
【MySQL入门】第一话 · 初入“数据库”大陆
Xin'an Second Edition; Chapter 11 learning notes on the principle and application of network physical isolation technology
偷窃他人漏洞报告变卖成副业,漏洞赏金平台出“内鬼”
sql语句优化,order by desc速度优化
TCP connection is more than communicating with TCP protocol
Virtual machine startup prompt probing EDD (edd=off to disable) error
面试突击62:group by 有哪些注意事项?
In terms of byte measurement with an annual salary of 30W, automated testing can be learned in this way
PyTorch 提取中间层特征?
Flink parsing (VII): time window
Unity tips - draw aiming Center
Pyspark operator processing spatial data full parsing (5): how to use spatial operation interface in pyspark
node の SQLite
微信小程序获取手机号
Summary of Android interview questions of Dachang in 2022 (II) (including answers)
The solution that flutterweb browser cannot be rolled back after refreshing
【Elastic】Elastic缺少xpack无法创建模板 unknown setting index.lifecycle.name index.lifecycle.rollover_alias
Yarn: unable to load file d:\programfiles\nodejs\yarn PS1, because running scripts is prohibited on this system