Thanks for sharing! I'm now using this app on an old android phone I had kicking around: http://aquarium.seanesopenko.ca/live-aquarium-feed/. The aquarium isn't set up yet, waiting for more equipment to arrive in the mail!
I'd like to share how I got the app working with Apex Fusion and with better security through an http proxy. The app browsers of the camera refocus the camera and even fill the phone's memory with video recordings. Note, this secure method of sharing the feed only works if you're running a website running apache with mod_proxy, mod_proxy_http and mod_rewrite enabled. Contact your host to see if your hosting account is capable of this. You can't password protect the app or else the feed url won't work in the Apex Fusion cloud service.
I added a destination NAT rule in my router allowing the outside world to access the app's webserver. You'll have to check your router's documentation on how to do this. Then I edited the .htaccess file of the wordpress site to the following:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^feed/shot.jpg$ http://YOUR.HOME.COMPUTER.IP:THENATPORT/shot.jpg [P]
RewriteRule ^feed/aiFi5ooF/video$ http://YOUR.HOME.COMPUTER.IP:THENATPORT/video [P]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Then I created firewall rules in my home router to only allow the IP of the web server to connect. To get the IP you can ping www.yourdomain.com and that's probably the machine that's going to hit your webcam app.
Voila! I have a proxy stream for my camera feed only exposing the feed and the recent picture urls, with none of the other urls exposed to the public!
This is a little techy but I thought I'd share it in case somebody else finds it useful.
Bookmarks