mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 17:41:54 +08:00
v2 beta
This commit is contained in:
@@ -33,7 +33,7 @@ RUN pacman -Syy \
|
||||
python-pip \
|
||||
nginx-mainline \
|
||||
nginx-mainline-mod-lua \
|
||||
mjpg-streamer \
|
||||
ustreamer \
|
||||
socat \
|
||||
&& pacman -Sc --noconfirm
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user