Skip to content

Custom webroot & disabled controls for webcam server - #359

Merged
guysoft merged 1 commit into
guysoft:develfrom
foosel:fix/mjpg-api
May 23, 2017
Merged

Custom webroot & disabled controls for webcam server#359
guysoft merged 1 commit into
guysoft:develfrom
foosel:fix/mjpg-api

Conversation

@foosel

@foosel foosel commented May 23, 2017

Copy link
Copy Markdown
Collaborator

Instead of ./www we now use ./www-octopi by default which only
contains an index.html (generated during image build) that displays
only the snapshot and stream for debugging purposes.

The command action on mjpg-streamer (which control.html of the stock
webroot utilizes) has also been disabled via "-n".

Two new variables have been introduced in /boot/octopi.txt to
allow configuring the webroot to use and the additional options
for output_http.so (by default only "-n"), in case power users
need to change back or otherwise customize stock behaviour.

Closes #358

Instead of ./www we now use ./www-octopi by default which only
contains an index.html (generated during image build) that displays
only the snapshot and stream for debugging purposes.

The command action on mjpg-streamer (which control.html of the stock
webroot utilizes) has also been disabled via "-n".

Two new variables have been introduced in /boot/octopi.txt to
allow configuring the webroot to use and the additional options
for output_http.so (by default only "-n"), in case power users
need to change back or otherwise customize stock behaviour.

Closes guysoft#358
@guysoft

guysoft commented May 23, 2017

Copy link
Copy Markdown
Owner

I need to remember to cherry-pick these changes in to CustomPiOS beyond this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants