Hi,
when I set more than 8 RTSP service ports, because the customer has more than 8 webcam streams, the state changes to “invalid”. Also the RTSP helper is no longer working. I am talking about “/ip firewall service-port set rtsp ports=…”.
If I am understanding your question, you are setting up the RTSP streams incorrectly in the router. The IP > Firewall > Service ports is services provided by the router itself. Webcam streams are not provided by the router, but rather by the camera. Should be NAT forwarding.
But, as you might known, RTSP causes the same problem as FTP to be recognized by the statefull firewall as RTSP changes ports after the initial connection is setup. Therefore a helper is needed on the local router so that the firewall recognizes the ports to track that connection.
/ip firewall service-port set rtsp disabled=no ports=554,8060,8061,8062,8063,8064,8065,8066
The problem is, that only 8 ports of the RTSP helper can be defined. I need more.
Here you can see the problem:
/ip firewall service-port set rtsp disabled=no ports=554,8060,8061,8062,8063,8064,8065,8066,8067
value of ports should have no more than 8 elements
Thanks, it’s a good idea to use a proxy which solved the problem itself.
Live555 was tricky to install so I used go2rtc. It’s only using one port 554 now. The camera is selected via the streams URL. Therefore it’s easy scaleable.