Update documentation of mjpg-streamer
This commit is contained in:
parent
fb72c798a9
commit
06764f3c11
@ -7,11 +7,22 @@
|
|||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
Set input arguments through `mjpg_input` configuration option, start the add-on.
|
Set input arguments through `mjpg_input` configuration option, start the add-on.
|
||||||
The camera stream and snapshot can be accessed by e.g. [MJPEG IP Camera](https://www.home-assistant.io/integrations/mjpeg/) from url `http://<addon-hostname>/?action=stream` or `http://<addon-hostname>/?action=snapshot`.
|
|
||||||
|
## Accessing camera from Home Assistant
|
||||||
|
|
||||||
|
The camera stream and snapshot can be accessed by e.g. [MJPEG IP Camera](https://www.home-assistant.io/integrations/mjpeg/), with URLs:
|
||||||
|
* MJPEG URL: `http://<addon-hostname>/?action=stream`
|
||||||
|
* Still image URL: `http://<addon-hostname>/?action=snapshot`.
|
||||||
|
|
||||||
|
Addon hostname can be found under [addon settings](https://my.home-assistant.io/redirect/supervisor_addon/?addon=b7aa59c4_camera-mjpg-streamer&repository_url=https%3A%2F%2Fgithub.com%2Ffredrikbaberg%2F3dprinter-addons).
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
For testing you can set `mjpg_input` to:
|
For testing you can set `mjpg_input` to:
|
||||||
> input_file.so -f /www_mjpg -e
|
> input_file.so -f /www_mjpg -e
|
||||||
|
|
||||||
|
This will result in showing a test image.
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
Some notes regarding the software and versions.
|
Some notes regarding the software and versions.
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
# mjpg-streamer
|
# mjpg-streamer
|
||||||
|
|
||||||
Provides camera stream through `mjpg-streamer`, to be used by e.g. OctoPrint addon.
|
Provides camera stream through `mjpg-streamer`, to be used by e.g. OctoPrint addon.
|
||||||
|
|
||||||
|
Instructions are provided in the tab "Docs".
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user