streamer state over websocket

This commit is contained in:
Devaev Maxim
2018-11-08 20:42:42 +03:00
parent 363bbdac57
commit 1640725cdc
10 changed files with 229 additions and 171 deletions

View File

@@ -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

View File

@@ -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