Authentication with zms/nph-zms
Posted: Mon Jul 30, 2007 4:52 pm
Hi,
I'm very sorry if this has already been answered, I did a search in forums/faqs/readme and didn't see anything on it.
I have a need to invoke the streaming server (zms) programatically on behalf of a user that's already logged into my own webapp. I understand that when a user logs into ZM's console they get a ZMSESSIONID cookie. And when they click on any monitor (that's been set to monitor mode) the URL to zms/nph-zms has "auth=<some-hex-value>". I've noticed that the sessionid and auth values are not the same.
Where does this auth hex-value in the zms URL come from? Can I invoke some command that gets me the auth param value that I can use in subsequent calls to zms/nph-zms?
Somewhat related question: What exactly is the difference between zms and nph-zms (non-parsed header)? By my ZM install defaults nph-zms is called, but I'm wondering if one performs better than the other or vice versa? Feel free to point me to an already written FAQ or README on this one. I've read lots of your docs for everything else. It's very possible I missed something.
Thank you, once again, for all your help.
Cheers,
Ramin
I'm very sorry if this has already been answered, I did a search in forums/faqs/readme and didn't see anything on it.
I have a need to invoke the streaming server (zms) programatically on behalf of a user that's already logged into my own webapp. I understand that when a user logs into ZM's console they get a ZMSESSIONID cookie. And when they click on any monitor (that's been set to monitor mode) the URL to zms/nph-zms has "auth=<some-hex-value>". I've noticed that the sessionid and auth values are not the same.
Where does this auth hex-value in the zms URL come from? Can I invoke some command that gets me the auth param value that I can use in subsequent calls to zms/nph-zms?
Somewhat related question: What exactly is the difference between zms and nph-zms (non-parsed header)? By my ZM install defaults nph-zms is called, but I'm wondering if one performs better than the other or vice versa? Feel free to point me to an already written FAQ or README on this one. I've read lots of your docs for everything else. It's very possible I missed something.
Thank you, once again, for all your help.
Cheers,
Ramin