In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about SDK security video intelligent analysis platform EasyCVR access to multi-channel stutter how to solve, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.
The problem of stutter is inevitable whether it is webcast or mobile live. As a developer of video platform, we know that there are many reasons for video stutter, including timestamp problems and network environment problems. In addition, there is another situation, that is, in the video platform EasyCVR that we have developed, if we connect too many devices, stutters will also occur.
In fact, the stutter problem is not necessarily related to timestamps, networks, and so on, so we can check the cause of the problem from the sql statement. By checking the printing of sql statements, we find that no matter how many device channels are connected, the backend will check all the channel information each time and return it to the front end. This logic directly leads to the surge of backend workload, which leads to stutter phenomenon.
We refactored the code. When the current side queries the device, add paging fields, start and limit
Modify it according to the principle of how many queries are displayed, and add the following code:
If params ["start"]! = "" >
Then request the query pass. At this time, the generated sql is already with paging parameters.
At the same time, the response speed of the check interface is also reduced to about 200 milliseconds.
This is how to solve the SDK security video intelligent analysis platform EasyCVR connected to multi-channel stutter shared by Xiaobian. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.