Liveweb streaming platform GB/T28181 function - supports UDP, TCP passive, TCP active mode

1. Background
In the national standard GB28181 protocol, what protocol can generally be used to transmit video to the national standard video platform? Basically udp and tcp. The early national standard equipment basically transmitted video through UDP. The resolution code stream of the camera was still relatively small, and there would not be too much packet loss during UDP transmission. With the improvement of hardware resolution and video quality, the packet loss problem caused by UDP during the transmission process is becoming increasingly serious.
The 2016 version of the new national standard protocol also clearly stipulates TCP streaming transmission. So later, newer devices began to support TCP streaming. During the project construction process, if the camera supports TCP streaming, it is also recommended to use TCP streaming as much as possible.

1. GB28181 streaming mode
1.1. UDP
The server listens to the UDP port and informs the device port through the signaling service, and the device actively requests the service End-initiated streaming

1.2. TCP Passive
The server listens to the TCP port and informs the device of the port through the signaling service. The device actively initiates streaming transmission to the server (it is recommended to use this method, but the device may not Support TCP streaming)

1.3. TCP active
The device informs the server of the TCP port status monitored, and the server actively pulls traffic to the device. This scenario is rare and the network where the device is located can be served. network access.

2. Switch streaming transmission mode
The above three modes can be switched to solve the problem of switching between streaming transmission modes in different network environments. The liveweb streaming media platform can be operated after WEB login.

2.1. Editing
National standard equipment editing, editable, streaming mode

2.2. Pull-down switching

3. Build GB28181 video live broadcast platform

  • Support Windows Linux and other CPU architecture (domestic, embedded...) operating systems

Guess you like

Origin blog.csdn.net/xiehuanbin/article/details/134972039