当前位置:网站首页>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-05 18:05:00 【Tsingsee green rhino video】
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 .
边栏推荐
- Teamcenter 消息注册前操作或后操作
- mybash
- 通过SOCKS代理渗透整个内网
- Thesis reading_ Medical NLP model_ EMBERT
- Neural network self cognition model
- 第十一届中国云计算标准和应用大会 | 华云数据成为全国信标委云计算标准工作组云迁移专题组副组长单位副组长单位
- How awesome is the architecture of "12306"?
- Leetcode daily practice: rotating arrays
- 在一台服务器上部署多个EasyCVR出现报错“Press any to exit”,如何解决?
- Failed to virtualize table with JMeter
猜你喜欢
随机推荐
Matlab reference
Wu Enda team 2022 machine learning course, coming
Maximum artificial island [how to make all nodes of a connected component record the total number of nodes? + number the connected component]
Leetcode daily question: merge two ordered arrays
吳恩達團隊2022機器學習課程,來啦
图像分类,看我就够啦!
Zabbix
检查命名空间和类
Failed to virtualize table with JMeter
Sophon autocv: help AI industrial production and realize visual intelligent perception
星环科技数据安全管理平台 Defensor重磅发布
Generate classes from XML schema
消除`if()else{ }`写法
EPM相关
“12306” 的架构到底有多牛逼?
最大人工岛[如何让一个连通分量的所有节点都记录总节点数?+给连通分量编号]
About Estimation with Cross-Validation
修复漏洞 - mysql 、es
通过SOCKS代理渗透整个内网
第十届全球云计算大会 | 华云数据荣获“2013-2022十周年特别贡献奖”