This commit is contained in:
Devaev Maxim
2018-09-26 02:11:23 +03:00
parent 6e9a3222ce
commit 940989b6e9
24 changed files with 265 additions and 173 deletions

View File

@@ -33,7 +33,7 @@ RUN pacman -Syy \
python-pip \
nginx-mainline \
nginx-mainline-mod-lua \
mjpg-streamer \
ustreamer \
socat \
&& pacman -Sc --noconfirm

View File

@@ -36,17 +36,16 @@ kvmd:
init_restart_after: 1.0
shutdown_delay: 10.0
resolutions:
- 640x480
- 800x600
- 1024x768
quality: 80
cmd:
- "/usr/bin/mjpg_streamer"
- "-i"
- "input_uvc.so -d /dev/kvmd-streamer -e 2 -y -n -r {resolution}"
- "-o"
- "output_http.so -l 0.0.0.0 -p 8082"
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-streamer"
- "--jpeg-quality={quality}"
- "--width=800"
- "--height=600"
- "--host=0.0.0.0"
- "--port=8082"
logging:
version: 1