summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/kvmd/v1.yaml2
-rw-r--r--configs/kvmd/v2.yaml4
-rw-r--r--configs/nginx/nginx.conf4
3 files changed, 7 insertions, 3 deletions
diff --git a/configs/kvmd/v1.yaml b/configs/kvmd/v1.yaml
index a5eb0749..e7d858d3 100644
--- a/configs/kvmd/v1.yaml
+++ b/configs/kvmd/v1.yaml
@@ -44,7 +44,7 @@ kvmd:
- "--tv-standard=pal"
- "--format=yuyv"
- "--encoder=cpu"
- - "--jpeg-quality={quality}"
+ - "--quality={quality}"
- "--width=720"
- "--height=576"
- "--fake-width=800"
diff --git a/configs/kvmd/v2.yaml b/configs/kvmd/v2.yaml
index 09c4eb33..9dedb630 100644
--- a/configs/kvmd/v2.yaml
+++ b/configs/kvmd/v2.yaml
@@ -36,14 +36,14 @@ kvmd:
init_restart_after: 0.0
shutdown_delay: 10.0
- quality: 80
+ quality: 20
cmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-streamer"
- "--format=uyvy"
- "--encoder=omx"
- - "--jpeg-quality={quality}"
+ - "--quality={quality}"
- "--dv-timings"
- "--host=localhost"
- "--port=8082"
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf
index f0d6965b..a06ced1b 100644
--- a/configs/nginx/nginx.conf
+++ b/configs/nginx/nginx.conf
@@ -9,6 +9,7 @@ error_log /dev/null crit;
events {
worker_connections 1024;
use epoll;
+ multi_accept on;
}
http {
@@ -19,6 +20,8 @@ http {
charset utf-8;
sendfile on;
+ tcp_nodelay on;
+ tcp_nopush on;
keepalive_timeout 10;
client_body_temp_path /tmp/nginx.client_body_temp;
@@ -116,6 +119,7 @@ http {
rewrite /streamer/?(.*) /$1 break;
proxy_pass http://ustreamer;
include /etc/nginx/proxy-params.conf;
+ postpone_output 0;
proxy_buffering off;
proxy_ignore_headers X-Accel-Buffering;
}