The RTSP streaming media protocol EasyNVR successfully maps the RTMP port but cannot play the rtmp video stream. How to solve it?

Ports are very important in deploying streaming media platforms. If the IP address is compared to a house, the port is the door to and from the house. A real house has only a few doors, but an IP address can have as many as 65536 (ie: 216) ports! Ports are marked by port numbers, which are only integers, ranging from 0 to 65535 (216-1).

In the video platform EasyNVR, through the port mapping, the intranet service can be successfully published on the public network. Some users need to obtain the RTMP video stream of EasyNVR through port mapping, but we recently found that after the port mapping of EasyNVR is successful, the RTMP stream of EasyNVR still cannot be broadcast live.

7.png

First, you need to verify whether the port is normally open. Through tool verification, it is found that the port is successfully mapped and successfully monitored on the server.

8.png

Then we call the RTMP stream through VLC, and we can see that the RTMP stream can be played normally on VLC.

10.png

Through the public network interface address announcement, it is found that the returned address is problematic. The returned RTMP port is still the RTMP port of the internal network: 10935, which is not the same as the port 10249 we actually mapped out.

11.png

12.png

In response to this problem, we can know that the video stream can be played successfully as long as the port number is the same, so we provide two solutions:
1. The mapping port of the internal and external network is the same;
2. Manually replace 10935 with the mapping success Port 10249.

13.png

We have also solved many problems about ports before: how to release the port when the port is occupied , etc. If you encounter port problems, you can search for "port" in the blog. If you want to learn more, welcome to visit TSINGSEE Green Rhino Video , or you can consult us at any time to get a test account for testing.

Guess you like

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