tessel / t2-start

Tessel 2 start docs! Open for contributions.
http://tessel.io/start
35 stars 31 forks source link

Running example code throws exception #151

Closed pstricker closed 8 years ago

pstricker commented 8 years ago

I've used the example code for camera.js and when I go to run the application I receive the attached exception in the terminal.

image

HipsterBrown commented 8 years ago

@pstricker I ran into the same error with the docs code and saw that mjpg_streamer, a dependency of tessel-av, was already using port 8080 by default. I'll make an update to the docs to fix that issue. You can fix it in the meantime if you change the port variable to another number like 8000.

pstricker commented 8 years ago

@HipsterBrown That would do it! Thanks for your help.

rwaldron commented 8 years ago

Pass port: XXXX to the Camera constructor to set a custom port.

rwaldron commented 8 years ago

I believe the example in the docs predates the migration to mjpg_streamer