summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-08 20:42:42 +0300
committerDevaev Maxim <[email protected]>2018-11-08 20:42:42 +0300
commit1640725cdc6358a77e4a0d8b5ecaf85310c970d6 (patch)
treee44c87427a319f2afbd69c9ed37ee849d2f2d991 /configs
parent363bbdac57fb20cda7a261196105ab4b5f61e7ff (diff)
streamer state over websocket
Diffstat (limited to 'configs')
-rw-r--r--configs/kvmd/v1-hdmi.conf10
-rw-r--r--configs/kvmd/v1-vga.conf10
2 files changed, 16 insertions, 4 deletions
diff --git a/configs/kvmd/v1-hdmi.conf b/configs/kvmd/v1-hdmi.conf
index 7c663ce9..9c2e48a0 100644
--- a/configs/kvmd/v1-hdmi.conf
+++ b/configs/kvmd/v1-hdmi.conf
@@ -53,6 +53,10 @@ kvmd:
quality: 20
desired_fps: 0
+ host: 127.0.0.1
+ port: 8082
+ timeout: 2.0
+
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-streamer"
@@ -63,10 +67,12 @@ kvmd:
- "--quality={quality}"
- "--desired-fps={desired_fps}"
- "--dv-timings"
- - "--host=127.0.0.1"
- - "--port=8082"
+ - "--host={host}"
+ - "--port={port}"
- "--drop-same-frames=30"
+ state_poll: 1.0
+
logging:
version: 1
disable_existing_loggers: false
diff --git a/configs/kvmd/v1-vga.conf b/configs/kvmd/v1-vga.conf
index fe2cafa0..3de3ac9f 100644
--- a/configs/kvmd/v1-vga.conf
+++ b/configs/kvmd/v1-vga.conf
@@ -53,6 +53,10 @@ kvmd:
quality: 80
desired_fps: 0
+ host: 127.0.0.1
+ port: 8082
+ timeout: 2.0
+
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-streamer"
@@ -65,8 +69,10 @@ kvmd:
- "--height=576"
- "--fake-width=800"
- "--fake-height=600"
- - "--host=127.0.0.1"
- - "--port=8082"
+ - "--host={host}"
+ - "--port={port}"
+
+ state_poll: 1.0
logging:
version: 1