From 52d2b8a3158f6bf8651c07b11a056ecf17f9e49c Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 24 Aug 2018 07:13:40 +0300 Subject: configurable stream resolution --- kvmd/configs/kvmd/v1.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'kvmd/configs') 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" -- cgit v1.2.3