I have 7 IP cameras in a building on the LAN with a Mac OS 10.6 server. The cameras are broadcasting individual mjpg feeds, which are available on individual ports outside the subnet. Each feed is protected by http digest authentication.
I would like to figure out 2 things:
what is the best way to display a mjpg feed in a web page? (I tried using simply
<img>
tags, which worked, but am wondering if there is a better way).how do I prompt for the username and password only once and pass the same credentials to all the cameras without prompting the user 7 times? (All cameras are protected by the same credentials.)
I would like to accomplish this by using jquery if possible. I can't get into the cameras themselves to edit anything about the way they serve the content - I can choose between https, basic or digest http authentication - that's about it on the camera side.
The actual web page that consolidates the feeds will be served to the world by the Mac OS X server living on the LAN with the cameras...
Any insight will be much appreciated.
MAnca