summaryrefslogtreecommitdiff
path: root/kvmd/testenv
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/testenv')
-rw-r--r--kvmd/testenv/Dockerfile2
-rw-r--r--kvmd/testenv/kvmd.yaml17
2 files changed, 9 insertions, 10 deletions
diff --git a/kvmd/testenv/Dockerfile b/kvmd/testenv/Dockerfile
index e81a74da..db7e6538 100644
--- a/kvmd/testenv/Dockerfile
+++ b/kvmd/testenv/Dockerfile
@@ -33,7 +33,7 @@ RUN pacman -Syy \
python-pip \
nginx-mainline \
nginx-mainline-mod-lua \
- mjpg-streamer \
+ ustreamer \
socat \
&& pacman -Sc --noconfirm
diff --git a/kvmd/testenv/kvmd.yaml b/kvmd/testenv/kvmd.yaml
index 1ad9e7f5..a94dcb2b 100644
--- a/kvmd/testenv/kvmd.yaml
+++ b/kvmd/testenv/kvmd.yaml
@@ -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