Having issues with streaming events
Posted: Wed Apr 08, 2020 8:22 pm
Hello,
I have been having problems for months now, ive done two clean installs on 2 different machines but get the same problem that I just cannot work out. I have tried googling and working my way through these forums and are struggling to find the solution. Apologies if I'm being a noob, but currently I'm at a loss to what's going on, as to me it doesn't make sense.
So, Everything on my system works. But only on one PC in the house and only when using Edge. (Well, everything works except live streams, these are just still images for some reason on this machine and browser, but that's not what I'm trying to fix...)
On any other computer (even in edge), or any other browser on the same computer all functions work, including the live streams except event playback in MP4. Event playback does however work if you select MJPEG under codec.
So, when clicking an event on a browser/pc that's not working I just get the message 'This video could not be loaded, either because the server or network failed or because the format is not supported."
On the zmNinja Android App, I just get a blank screen showing 'null' when trying to playback events. All other functions, including live streams work.
Looking in the logs, filtered to 'Web_PHP' I see the following entries generated when I try to access from the non working browsers, or from the zmNinja App:
Socket /var/run/zm/zms-012753s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.
Obviously when successfully accessing the event from the one working PC using edge, no events are created because it works.
I have checked various other logs ive been directed to from various help guides and forum posts, but cant find anything that looks out of place other than the above error.
Am I missing something simple here? Any logs that would help point me in the right direction to where the problem might lie? Does the fact that Edge on my one PC works fine prove the system is configured correctly? The fact that its working on this machine makes me weary of poking around with the settings.
I have worked through the docs and tones of googling but the issue itself doesn't make any sense to me. How can it work perfectly on only one browser on only one machine?
Any help or advice would be hugely appreciated.
System details: Ubuntu 18.4.4 LTS, ZM 1.34.8
I have been having problems for months now, ive done two clean installs on 2 different machines but get the same problem that I just cannot work out. I have tried googling and working my way through these forums and are struggling to find the solution. Apologies if I'm being a noob, but currently I'm at a loss to what's going on, as to me it doesn't make sense.
So, Everything on my system works. But only on one PC in the house and only when using Edge. (Well, everything works except live streams, these are just still images for some reason on this machine and browser, but that's not what I'm trying to fix...)
On any other computer (even in edge), or any other browser on the same computer all functions work, including the live streams except event playback in MP4. Event playback does however work if you select MJPEG under codec.
So, when clicking an event on a browser/pc that's not working I just get the message 'This video could not be loaded, either because the server or network failed or because the format is not supported."
On the zmNinja Android App, I just get a blank screen showing 'null' when trying to playback events. All other functions, including live streams work.
Looking in the logs, filtered to 'Web_PHP' I see the following entries generated when I try to access from the non working browsers, or from the zmNinja App:
Socket /var/run/zm/zms-012753s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.
Obviously when successfully accessing the event from the one working PC using edge, no events are created because it works.
I have checked various other logs ive been directed to from various help guides and forum posts, but cant find anything that looks out of place other than the above error.
Am I missing something simple here? Any logs that would help point me in the right direction to where the problem might lie? Does the fact that Edge on my one PC works fine prove the system is configured correctly? The fact that its working on this machine makes me weary of poking around with the settings.
I have worked through the docs and tones of googling but the issue itself doesn't make any sense to me. How can it work perfectly on only one browser on only one machine?
Any help or advice would be hugely appreciated.
System details: Ubuntu 18.4.4 LTS, ZM 1.34.8