HI
No matter what I try I am not able to get streaming. I guess the problem is with zms.
How do I test if zms is working correctly.
[root@server cgi-bin]# ./zms
Server: ZoneMinder Video Server/1.20.1
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 06 Apr 2005 18:59:01 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
I am using
kernel-2.6.10-1.766_FC3.stk16
httpd-2.0.52-3
php-4.3.10-3.2
on a Fedora core 3 box.
.........Ghat
How to test zms/nph-zms
i have the same problem
...
if you will solve it plz let me know how
if you will solve it plz let me know how
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
You can run zms from the command line. You need to set the environment variable QUERY_STRING to the url parameters that are passed in from the web page for your monitor, do a 'view source' and copy every after after the 'zms?' part in the QUERY_STRING env var, for example
Then just run zms, or nph-zms but be warned that the output it (should) produce will have binary characters in it so redirect it to a file and examine it with an editor to check the headers etc. Note also that if you are using authentication that the auth string only has a very limited life time so you maight be better off using '&user=<username>&pass=<password>' rather than 'auth=<key>' or turning off authentication altogether for your test.
Phil
Code: Select all
setenv QUERY_STRING=mode=jpeg&monitor=1&scale=100&maxfps=1&auth=etc
Phil