当前位置:网站首页>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 .
边栏推荐
- GFS分布式文件系统
- Huaxia Fund: sharing of practical achievements of digital transformation in the fund industry
- Teamcenter 消息注册前操作或后操作
- Image classification, just look at me!
- [TestLink] testlink1.9.18 solutions to common problems
- 图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统
- tkinter窗口预加载
- 检查命名空间和类
- How awesome is the architecture of "12306"?
- 从类生成XML架构
猜你喜欢

LeetCode 练习——206. 反转链表

图扑软件数字孪生 | 基于 BIM 技术的可视化管理系统

神经网络自我认知模型

Sophon CE Community Edition is online, and free get is a lightweight, easy-to-use, efficient and intelligent data analysis tool

Can communication of nano

RSE2020/云检测:基于弱监督深度学习的高分辨率遥感图像精确云检测

Ten top automation and orchestration tools

Career advancement Guide: recommended books for people in big factories

Cmake tutorial Step2 (add Library)

EPM related
随机推荐
数值计算方法 Chapter8. 常微分方程的数值解
Huaxia Fund: sharing of practical achievements of digital transformation in the fund industry
开户复杂吗?网上开户安全么?
Maximum artificial island [how to make all nodes of a connected component record the total number of nodes? + number the connected component]
Star Ring Technology launched transwarp Navier, a data element circulation platform, to help enterprises achieve secure data circulation and collaboration under privacy protection
Tencent music launched its new product "quyimai", which provides music commercial copyright authorization
Size_t 是无符号的
GFS分布式文件系统
ISPRS2022/雲檢測:Cloud detection with boundary nets基於邊界網的雲檢測
How to improve the thermal management in PCB design with the effective placement of thermal through holes?
How can cluster deployment solve the needs of massive video access and large concurrency?
MATLAB中print函数使用
Simulate the hundred prisoner problem
GIMP 2.10教程「建议收藏」
Xiaobai getting started with NAS - quick building private cloud tutorial series (I) [easy to understand]
Sophon base 3.1 launched mlops function to provide wings for the operation of enterprise AI capabilities
Gimp 2.10 tutorial "suggestions collection"
通过SOCKS代理渗透整个内网
Configure pytorch environment in Anaconda - win10 system (small white packet meeting)
记一次使用Windbg分析内存“泄漏”的案例