How does EasyNVR, an IP camera RTSP streaming media protocol video platform, perform a streaming comparison in TCP mode?

The EasyNVR webpage plug-in-free live broadcast platform has been revised and improved many times and has become a mature streaming video cloud service platform that can meet the application needs of different scenarios such as security, smart city, and education.

EasyNVR solution two.png

To test the EasyNVR pull stream, when confirming the input source problem, VLC will generally be used to compare the test source for the problem. Normally, EasyNVR uses TCP mode to pull streams by default, while VLC mode is UDP mode, so the comparison results are different.

In this article, we will talk about how EasyNVR performs streaming comparison in TCP mode. To capture packets through wireshark, the display interface is as follows:

EasyNVR:

312.png

RTP/AVP/TCP; unicast; interleaved=0-1, which means that TCP is used for streaming later.

VLC:

313.png

RTP/AVP; unicast; client_port=56940-56941 means that UDP is used for streaming later, RTP port 56940, RTCP port 56941,

In order to make VLC use TCP for streaming, you need to modify the VLC configuration, Tools -> Preferences

314.png

315.png

Select RTP over RTSP (TCP) under Input-Encoder Decoding. After VLC modifies the configuration, pull the stream and capture the packet again.

316.png

317.png

After capturing the packet in the picture above, you can see that VLC already supports TCP stream output. After EasyNVR is connected to the EasyNVS video integrated management platform, you can also obtain the VLC video stream address. For details, see this article: How to obtain the VLC video stream playback address on the video cloud management platform?

NVR8.png

If you want to know more about EasyNVR video platform related content, or the solution of RTMP/GB28181 protocol video platform, welcome to enter TSINGSEE Qingxi Video .

Guess you like

Origin blog.csdn.net/EasyNVR/article/details/108578132