当前位置:网站首页>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 .
边栏推荐
- 老司机总结的12条 SQL 优化方案(非常实用)
- Fengshentai old shooting range Kali series
- 简易数字电路交通灯设计
- 单例的常用创建和使用方式
- JS get the current screen height method and listen for DOM elements to enter the viewport
- 做自媒体视频的各种常用工具合集奉上
- Learning Processing Zoog
- Lodash common methods (filtering, anti shake...)
- [solved] laravel completes the scheduled job task (delayed distribution task) [execute a user-defined task at a specified time]
- Xiaolong 888 was released, Xiaomi 11 was launched, and 14 manufacturers carried it in the first batch!
猜你喜欢

【Spark】.scala文件在IDEA中几种图标的解释

Xiaolong 888 was released, Xiaomi 11 was launched, and 14 manufacturers carried it in the first batch!

nvm安装教程

Xiaobai lazy special-win10-win11 one click installation version

Processing 多面体变化

processsing 函数random

Echart堆叠柱状图:色块之间添加白色间距效果设置

【网络是怎么连接的】第二章(上): 建立连接,传输数据,断开连接

Redis learning - 01 introduction, installation and configuration

The laravel dingo API returns a custom error message
随机推荐
Why is password salt called "salt"? [Close] - why is a password salt called a "salt"? [closed]
Openlayers drawing dynamic migration lines and curves
7-16 货币系统Ⅰ
Examples of how laravel uses with preload (eager to load) and nested query
Summary of some application research cases of UAV Remote Sensing in forest monitoring
洛谷P3426 [POI2005]SZA-Template 题解
【网络是怎么连接的】第二章(下):一个网络包的接收
使用SSH密钥对登陆服务器
Redis learning - 06 drifting bottle case
The El form item contains two inputs. Verify the two inputs
Mongodb of NoSQL - 03 mongodb CRUD
Less than 40 lines of code to create a blocprovider
710. 黑名单中的随机数
power designer - 自定义注释按钮
PHP laravel+gatewayworker completes im instant messaging and file transfer (Chapter 1: basic configuration)
KVM video card transparent transmission -- the road of building a dream
Websocket and socket IO case practice
Several methods added to the ES6 array (foreach, filter, some, every. Includes, reduce)
710. random numbers in the blacklist
JS how to judge when data contains integer and floating-point types. Floating-point decimals retain two digits after the decimal point