ccurran689
Posts: 13
Joined: Sat Sep 26, 2015 9:55 am

Remote control car with webcam

Sat Nov 28, 2015 9:35 pm

I have made a small motor driven can which can be controlled online. I have port forwarded so this can then be controlled out of my home. I have connected a pi cam which uses MJPG-streamer and by posting an img src="http://ipaddress:port/?action=stream"/> I have been able to view this camera footage while connected to my own wifi, however I cant view the camera footage when not connected to my wifi. I believe I have to now make a php proxy that will redirect from the local camera port to a url which can be referenced in the html code, I can only find information on how to do this with apache and now webiopi. Any help would be greatly appreciated, thanks.

danjperron
Posts: 3502
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: Remote control car with webcam

Sun Nov 29, 2015 6:06 pm

You should be able to do port forward directly at the router. this what I do.

viewtopic.php?p=783281#p783281

ccurran689
Posts: 13
Joined: Sat Sep 26, 2015 9:55 am

Re: Remote control car with webcam

Sun Nov 29, 2015 8:06 pm

I can port forward so I can access the webpage and control the car no problem, but in order to see the webcam footage from someone elses wifi I need to proxy the cameras address, as it tries to load the 192.168... function

Return to “Automation, sensing and robotics”