当前位置:网站首页>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 .
边栏推荐
- 简版拼多多商品数据
- Native JS creates a calendar - supports mouse wheel scrolling to select months - and can be ported to any framework
- English grammar_ Adjective / adverb Level 3 - precautions
- 正则表达式=Regex=regular expression
- Ubuntu14 install MySQL and configure root account local and remote access
- Contos 7 set up SFTP to create users, user groups, and delete users
- EasyGBS主子码流都为H.265时,切换出现花屏如何解决?
- Ffmpeg common commands (2)
- 采集抖音视频
- [Mori city] random talk on GIS data (I)
猜你喜欢
Oracle物理体系结构
[to.Net] C set class source code analysis
What is the essential difference between Bi development and report development?
Basic use of MySQL
科技T3国产平台!成功搭载“翼辉国产实时系统SylixOS”
Optaplanner learning notes (I) case cloud balance
MySQl的基本使用
Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation
Shell高级进阶
The use of subplot function in MATLAB
随机推荐
P2433 【深基1-2】小学数学 N 合一
论文阅读【Learning to Discretely Compose Reasoning Module Networks for Video Captioning】
Ffmpeg error code
GB28181的NAT穿透
MFC中如何重绘CListCtrl的表头
EasyGBS网络不稳定情况下重复请求视频拉流问题的优化
Ffmpeg avframe to cv:: mat
宝,运维100+服务器很头疼怎么办?用行云管家!
Collect Tiktok video
ubuntu14安装MySQL并配置root账户本地与远程访问
微信公众号开发相关流程及功能介绍
智慧防疫系统为建筑工地复工复产提供安全保障
Learning records of building thingsboard, an Internet of things platform
DTD modeling
Brpc understanding
H264编码profile & level控制
Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
ffmpeg 错误码
GB28181之SIP协议
Compile ffmpeg source code with msys+vs2019 under win10