Page 2 of 2

Posted: Sat Oct 08, 2005 11:37 pm
by jameswilson
cordel always knows

Posted: Sun Oct 09, 2005 12:37 am
by ubell
Yes, it was my bad, I did not notice the error.

Now all I need to do is to figure out why I cannot
get ZM to use a user:password when talking to
my network camera and I'll have everything I need.

I am getting authroization failures when I turn it on
but the url works from the browser.

Mike

Camera login methods

Posted: Sun Oct 09, 2005 1:29 am
by cordel
There are two ways too pass login info to the cameras. The way to login is dependant on the method used by the camera.

If when you bring up your camera it pops up a login dialog box then
user:pass@yourcam

youcam being it IP or DNS entry 8)

If you have to login via a url you need to post the info in the path using zm as example:
/cgi-bin/zms?<all the stream settings>&user=myuser&pass=mypass

The exact variables required can be differant depending on the camera. The quick and dirty way is bring up the login page for the camera and veiw the source to see what the variable names are.

Regards,
Cordel

Posted: Sun Oct 09, 2005 1:41 am
by ubell
I am using the remote host name:
http://name:passwd@ip.foo

This works from a browser but not from ZM.

Any ideas?

Mike

Posted: Sun Oct 09, 2005 2:03 am
by cordel
drop http://
zm adds that its self

Posted: Sun Oct 09, 2005 2:30 am
by ubell
Bingo!

Thanks alot.

Posted: Sun Oct 09, 2005 5:05 am
by cordel
No problem, glad to help :wink: