summaryrefslogtreecommitdiff
path: root/kvmd/configs
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-24 07:13:40 +0300
committerDevaev Maxim <[email protected]>2018-08-24 07:13:40 +0300
commit52d2b8a3158f6bf8651c07b11a056ecf17f9e49c (patch)
tree02fd818cbac3cea05827bf7e304467df24b9234f /kvmd/configs
parent0468100bba78f89743edf77a095aa24de5406dbb (diff)
configurable stream resolution
Diffstat (limited to 'kvmd/configs')
-rw-r--r--kvmd/configs/kvmd/v1.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/kvmd/configs/kvmd/v1.yaml b/kvmd/configs/kvmd/v1.yaml
index 5d1fc783..712891a0 100644
--- a/kvmd/configs/kvmd/v1.yaml
+++ b/kvmd/configs/kvmd/v1.yaml
@@ -36,14 +36,13 @@ kvmd:
init_restart_after: 1.0
shutdown_delay: 10.0
- size:
- width: 800
- height: 600
+ resolutions:
+ - 800x600 - 720x576
cmd:
- "/usr/bin/mjpg_streamer"
- "-i"
- - "input_uvc.so -d /dev/kvmd-streamer -e 2 -t pal -y -n -r 720x576"
+ - "input_uvc.so -d /dev/kvmd-streamer -e 2 -t pal -y -n -r {resolution}"
- "-o"
- "output_http.so -l localhost -p 8082"