Hi there,
Great piece of coding!
I have a quick question regarding a project I’m working on.
I’m designing a toy based on moving images. It captures the surroundings via a camera and displays the feed to a projector.
For my prototype I configured a raspberry pi type B with a camera module to display a stream of MJPEGs to a local website on the RPi via an Apache server (http://elinux.org/RPi-Cam-Web-Interface). The idea is to interface the website via physical buttons connected to an arduino.
I succesfully installed the node server of Breakout on the RPi and can succesfully run the hello_world example and interface with the arduino.
I’m now trying to embed the hello_world code in the webcam website, which is run on locally on the RPi on a fix ip (192.168.0.178).
I configured the Apache server per this post to connect to the node.js on localhost:8887 (http://thatextramile.be/blog/2012/01/hosting-a-node-js-site-through-apache).
I copied the libs and dist folder to the location of the index.html file of the webcam interface (/var/www/). I updated the script source code in the html file
> socket.io.js refers to the original Breakout folder where the node server files are located
> dist & libs refer to /var/www/
I updated the server.js file to accept multiple connections and the path of the application refers also to /var/www/.
However, so far no luck. Do you have a moment to look into it?
Kind regards
Thomas