当前位置:网站首页>Optimization of video streaming with repeated requests in the case of unstable easygbs network
Optimization of video streaming with repeated requests in the case of unstable easygbs network
2022-07-01 19:39:00 【EasyGBS】
EasyGBS It is based on the national standard GB28181 Video cloud service platform based on protocol , It supports the unified access and centralized management of devices with national standard protocols . The platform has excellent video capabilities , Including live video surveillance 、 videotape 、 Cloud storage 、 The playback 、 Platform cascading 、 Voice talk 、 Intelligent alarm and other functions , There are a large number of landing applications in offline scenarios .

We found in the project test ,EasyGBS adopt web When page requests streaming , When the network is unstable , Users click to play many times , It will cause repeated flow pulling at the back end , It consumes the flow of the equipment . Such operations will incur certain traffic costs , Especially in projects with sensitive traffic , Causing unnecessary expenses . Therefore, in view of the above situation , We optimized the code .
When the network is unstable , Users may click many times , As a result, it is transmitted to the backend many times , The back end will request many times at the same time invite, As a result, this device has two streams , Therefore, the equipment continues to flow , Consumption of equipment traffic , Here's the picture :

resolvent : In the method of requesting streaming , Adding a lock to control each device can only be done once at the same time invite. The code is as follows :

thus , It will not cause repeated flow of the equipment .
In terms of video capability ,EasyGBS Can be GB/T28181 equipment / Platform push PS Transfer into ES flow , And provide RTSP、RTMP、FLV、HLS、WebRTC And other multi format video streams , Realization Web browser 、 Mobile phone browser 、 Wechat end 、PC There is no plug-in playing in the client and other terminals . The platform is based on the advantages of cloud side architecture , It has been applied in a large number of offline scenes , Including bright kitchen and bright stove 、 Snow project 、 Ping An Village, etc . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- ffmpeg AVFrame 转 cv::Mat
- Wechat applet navigator has a shadow after clicking. Remove the shadow effect of navigator
- Salesmartly has some tricks for Facebook chat!
- EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
- [to.Net] C set class source code analysis
- 智慧防疫系统为建筑工地复工复产提供安全保障
- Shell advanced
- 118. 杨辉三角
- Native JS creates a calendar - supports mouse wheel scrolling to select months - and can be ported to any framework
- Why must we move from Devops to bizdevops?
猜你喜欢

测试自学人必看:软件测试如何找测试项目?

Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation

optaplanner学习笔记(一)案例Cloud balance

音视频、编解码相关电子书、小工具,打包奉送!

论文阅读【Learning to Discretely Compose Reasoning Module Networks for Video Captioning】

Flutter 实战-快速实现音视频通话应用

How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?

Summary of SQL query de duplication statistics methods

Dlib+opencv library for fatigue detection

白盒加密技术浅理解
随机推荐
brpc理解
[to.Net] C set class source code analysis
OpenCV视频质量诊断----视频遮挡诊断
Oracle物理体系结构
【英语语法】Unit1 冠词、名词、代词和数词
ubuntu14安装MySQL并配置root账户本地与远程访问
241. Different Ways to Add Parentheses
Ffmpeg audio related commands
Les canaux de culture intensive s'efforcent de développer Fu Xin et Wei Shi jiajie pour organiser une conférence de formation sur les nouveaux produits
How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
OpenCV视频质量检测--清晰度检测
Proxy in ES6
Basic knowledge of audio coding and decoding
白盒加密技术浅理解
学习笔记【gumbel softmax】
GB28181的NAT穿透
Transaction isolation level gap lock deadlock
Parallelism, concurrency and life cycle of threads
Why must we move from Devops to bizdevops?
[go ~ 0 to 1] day 4 June 30 defer, structure, method