当前位置:网站首页>National standard gb28181 protocol easygbs video platform TCP active mode streaming exception repair
National standard gb28181 protocol easygbs video platform TCP active mode streaming exception repair
2022-06-26 12:58:00 【EasyGBS】
EasyGBS It is based on the national standard GB28181 Protocol video platform , Support live video 、 videotape 、 Cloud storage 、 Retrieval and playback 、 Pan tilt control 、 Alarm report 、 Voice intercom and other functions .EasyGBS The platform has comprehensive functions 、 Comprehensive 、 Flexible video capabilities , It can cover the needs of all video surveillance fields , It has been applied in a large number of projects , Such as bright kitchen and bright stove 、 Safe country 、 Snow project, etc .
EasyGBS Three pull flow modes can be set on the platform ,UDP、TCP Take the initiative 、TCP passive .
1)UDP:
Server monitoring UDP port , adopt INVITE Signaling informs the device port , The device actively initiates streaming to the server .
2)TCP passive :
Server monitoring TCP port , adopt INVITE Signaling informs the device port , The device initiates streaming to the server .
3)TCP Take the initiative :
The device side informs the server that it is listening TCP Port conditions , The server actively pulls the stream to the device , But there are few such scenes .
In a user's project ,EasyGBS As a superior platform , The lower level equipment pull flow is set to TCP passive , Then corresponding to the superior EasyGBS To set up TCP Active mode pull flow , But at the user site , It's always wrong to pull the flow , So we checked the situation . Check whether there is a problem with the active mode streaming code .
TCP In active mode ,EasyGBS You need to send to the device INVITE news , Wait for sending before receiving SYN The message establishes a connection with the subordinate , And the site is sending SYN When , Keep reporting that the port is occupied ( Here's the picture ) error , So our analysis is sending SYN Before , The program has listened to the streaming port .
Check code discovery , When pulling the flow , Judge that the active mode is not successful , Into the TCP In passive mode , So it has been unable to use TCP Active pull flow , See the figure below after modification :
After modification , The above problems have been successfully solved .
EasyGBS Powerful video capabilities can be used as a business platform , It can also be called as a video capability platform . adopt GB28181 Standard protocols enable cascading between platforms , It can share data with other platform systems , Achieve video resource convergence in application scenarios 、 Collaborative supervision 、 Platform linkage and other purposes , Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
猜你喜欢
Word文档导出(使用固定模板)
PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)
文件远程同步、备份神器rsync
openlayers 绘制动态迁徙线、曲线
Tiger Dao VC products are officially launched, a powerful supplement to seektiger ecology
MySQL optimization - index (what is an index?)
【Spark】.scala文件在IDEA中几种图标的解释
Configuring Apache digest authentication
计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)
RSS rendering of solo blog system failed
随机推荐
Adobe Acrobat prevents 30 security software from viewing PDF files or there are security risks
Deeply analyze the differences between dangbei box B3, Tencent Aurora 5S and Xiaomi box 4S
PHP generate order number
Tiger Dao VC products are officially launched, a powerful supplement to seektiger ecology
Examples of how laravel uses with preload (eager to load) and nested query
7-1 n皇后问题
计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)
Thinkphp5 query report: sqlstate[hy093]: invalid parameter number
美学心得(第二百三十八集) 罗国正
小白懒人专用-win10-win11一键安装版
[BSidesCF 2019]Kookie 1
7-16 货币系统Ⅰ
Goto statement to realize shutdown applet
四类线性相位 FIR滤波器设计 —— MATLAB源码全集
TP5 thinkphp5 report serialization of'closure'is not allowed
软件测试 - 概念篇
QT .pri 的建立与使用
Configuring Apache digest authentication
Sharing ideas for a quick switch to an underlying implementation
Processing 多面体变化