当前位置:网站首页>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 .
边栏推荐
- IPv4地址、子网掩码、网关
- 论文阅读【Discriminative Latent Semantic Graph for Video Captioning】
- Contos 7 set up SFTP to create users, user groups, and delete users
- 求各种极限的方法
- ffmpeg AVFrame 转 cv::Mat
- Botu V16 obtains the system time and converts it into a string
- ffmpeg 音频相关命令
- 【To .NET】C#集合类源码解析
- Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation
- 241. Different Ways to Add Parentheses
猜你喜欢

Introduction to relevant processes and functions of wechat official account development

论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】

Actual combat of flutter - fast implementation of audio and video call application
![pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']](/img/98/c4df0747856eda262b82942eedad8f.png)
pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']

Shell高级进阶

Enabling "new Chinese enterprises", SAP process automation landing in China

pickle.load报错【AttributeError: Can‘t get attribute ‘Vocabulary‘ on <module ‘__main__‘】

Regular expression =regex=regular expression

Summary of SQL query de duplication statistics methods

Audio and video, encoding and decoding related e-books, gadgets, packaged for free!
随机推荐
P2433 【深基1-2】小学数学 N 合一
精耕渠道共謀發展 福昕攜手偉仕佳傑開展新產品培訓大會
Analysis of GetMessage underlying mechanism
uni-app商品分类
宝,运维100+服务器很头疼怎么办?用行云管家!
Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
Opencv video quality detection -- sharpness detection
Nat penetration of gb28181
How to solve the problem of splash screen when the main and sub code streams of easygbs are h.265?
[go ~ 0 to 1] day 5 July 1 type alias, custom type, interface, package and initialization function
IPv4 address, subnet mask, gateway
How to redraw the header of CListCtrl in MFC
ffmpeg 错误码
微信公众号开发相关流程及功能介绍
[English grammar] Unit1 articles, nouns, pronouns and numerals
Task: denial of service DOS
Dlib+opencv library for fatigue detection
Wireshark packet analysis TCP, FTP
微信小程序 navigator点击后有阴影 ,去掉navigator阴影效果
GB28181的NAT穿透