I'm looking to clean up my montage FPS on the ZMNinja-pro app. Based on what Ive read I need to set up multi-port streaming on ZoneMinder. I followed this article https://medium.com/zmninja/multi-port-s ... 836a336c93 which seems to be the go to based on searching the forums.
I set the MIN_STREAMING_PORT, added the ports to the ports.conf (removed the https part as my setup is http) and added the ports to the virtualhost file (which for me was 000-default.conf)
At any rate, upon setting everything up and clearing the API cache and quitting/reopening, I get three green dots for my streams.
Debug mode shows connection refused for the streams. I have tried disabling authentication on the server and app as well, with the same effect.
If I remove the MIN_STREAMING_PORT everything returns to normal. There is also a MIN_RTSP_PORT that I tried as I use rtsp for my camera modules which didn't give me the green dots but did not change my FPS either. Am I missing something here? Any help would be greatly appreciated!!
This is all internal as well so I did not bother worrying about port forwarding at the moment.
Multi-Port issue three green dots
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Multi-Port issue three green dots
You must set it up your router. It doesn't know what to do with the new ports....
Re: Multi-Port issue three green dots
Make sure that the ports are not being blocked on the ZM server.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: Multi-Port issue three green dots
Even though it's internal only?dougmccrary wrote: ↑Tue May 18, 2021 10:02 pm You must set it up your router. It doesn't know what to do with the new ports....
Re: Multi-Port issue three green dots
I spent a good chunk of time working on this yesterday, I tested the ports going out from my Mac to the Ubuntu server using netcat and it was successful, which to me proves that the core router/firewall is not blocking the ports internally. When I go from the Ubuntu server out to the Mac I am unsuccessful though. I checked and UFW is not even enabled, but I put in allow rules anyway for the ports I am trying to use. It sounds like IPtables is deprecated but I allowed the ports through that as well. When I run netstat I do not see the ports I am using as active. Is there another place I should be allowing the ports? I feel like must be missing something here.
Re: Multi-Port issue three green dots
If you've restarted Apache and the ports are not open, then something is wrong in your Apache config changes. Check that the standard Apache port shows up in your netstat and go from there.
-
Re: Multi-Port issue three green dots
I actually got it working this morning! I used the IP table route of forwarding all the ports to port 80. After returning my ports.conf back to original I think I found my mistake. I placed all of the ports for apache to listen to under the <IfModule ssl_module> but I am not using HTTPS at this point. I'm sure If I placed them above, outside of the SSL It would work, but the IP table route worked for me so I will stick with that.
Re: Multi-Port issue three green dots
Glad you got it sorted.
Make sure you document it, so it doesn't bite you later on.
Make sure you document it, so it doesn't bite you later on.
-
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Multi-Port issue three green dots
Yeah, good idea. I've got a page on my regular machine with the info.Make sure you document it, so it doesn't bite you later on.
An aside, though.
I finally got around to working on why I couldn't see my #5 monitor away from home.
Turns out Cox cable uses 30005 for something, and blocks it.
Moved my cams to 301xx and all works now.