summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/kvmd/main/v0-hdmi-zero2w.yaml6
-rw-r--r--configs/kvmd/main/v1-hdmi-rpi3.yaml6
-rw-r--r--configs/kvmd/main/v1-hdmi-zero2w.yaml6
-rw-r--r--configs/kvmd/main/v2-hdmi-rpi3.yaml6
-rw-r--r--configs/kvmd/main/v2-hdmi-rpi4.yaml6
-rw-r--r--configs/kvmd/main/v2-hdmi-zero2w.yaml6
-rw-r--r--configs/kvmd/main/v3-hdmi-rpi4.yaml6
-rw-r--r--configs/kvmd/main/v4mini-hdmi-rpi4.yaml6
-rw-r--r--configs/kvmd/main/v4plus-hdmi-rpi4.yaml6
-rw-r--r--configs/os/services/kvmd-media.service16
-rw-r--r--configs/os/sysusers.conf6
11 files changed, 76 insertions, 0 deletions
diff --git a/configs/kvmd/main/v0-hdmi-zero2w.yaml b/configs/kvmd/main/v0-hdmi-zero2w.yaml
index 96e89761..a187ff97 100644
--- a/configs/kvmd/main/v0-hdmi-zero2w.yaml
+++ b/configs/kvmd/main/v0-hdmi-zero2w.yaml
@@ -47,6 +47,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v1-hdmi-rpi3.yaml b/configs/kvmd/main/v1-hdmi-rpi3.yaml
index e8e442f3..cf427f2f 100644
--- a/configs/kvmd/main/v1-hdmi-rpi3.yaml
+++ b/configs/kvmd/main/v1-hdmi-rpi3.yaml
@@ -56,6 +56,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v1-hdmi-zero2w.yaml b/configs/kvmd/main/v1-hdmi-zero2w.yaml
index e8e442f3..cf427f2f 100644
--- a/configs/kvmd/main/v1-hdmi-zero2w.yaml
+++ b/configs/kvmd/main/v1-hdmi-zero2w.yaml
@@ -56,6 +56,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v2-hdmi-rpi3.yaml b/configs/kvmd/main/v2-hdmi-rpi3.yaml
index 3bfc000f..55de21db 100644
--- a/configs/kvmd/main/v2-hdmi-rpi3.yaml
+++ b/configs/kvmd/main/v2-hdmi-rpi3.yaml
@@ -47,6 +47,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v2-hdmi-rpi4.yaml b/configs/kvmd/main/v2-hdmi-rpi4.yaml
index ea3c8c10..532b30b0 100644
--- a/configs/kvmd/main/v2-hdmi-rpi4.yaml
+++ b/configs/kvmd/main/v2-hdmi-rpi4.yaml
@@ -48,6 +48,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v2-hdmi-zero2w.yaml b/configs/kvmd/main/v2-hdmi-zero2w.yaml
index 3bfc000f..55de21db 100644
--- a/configs/kvmd/main/v2-hdmi-zero2w.yaml
+++ b/configs/kvmd/main/v2-hdmi-zero2w.yaml
@@ -47,6 +47,12 @@ kvmd:
- "--h264-gop={h264_gop}"
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v3-hdmi-rpi4.yaml b/configs/kvmd/main/v3-hdmi-rpi4.yaml
index 50b140b0..6494d327 100644
--- a/configs/kvmd/main/v3-hdmi-rpi4.yaml
+++ b/configs/kvmd/main/v3-hdmi-rpi4.yaml
@@ -60,6 +60,12 @@ kvmd:
pulse: false
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v4mini-hdmi-rpi4.yaml b/configs/kvmd/main/v4mini-hdmi-rpi4.yaml
index 410544d7..0ab4412f 100644
--- a/configs/kvmd/main/v4mini-hdmi-rpi4.yaml
+++ b/configs/kvmd/main/v4mini-hdmi-rpi4.yaml
@@ -85,6 +85,12 @@ kvmd:
pulse: false
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/kvmd/main/v4plus-hdmi-rpi4.yaml b/configs/kvmd/main/v4plus-hdmi-rpi4.yaml
index c59be781..484b728a 100644
--- a/configs/kvmd/main/v4plus-hdmi-rpi4.yaml
+++ b/configs/kvmd/main/v4plus-hdmi-rpi4.yaml
@@ -88,6 +88,12 @@ kvmd:
pulse: false
+media:
+ memsink:
+ h264:
+ sink: "kvmd::ustreamer::h264"
+
+
vnc:
memsink:
jpeg:
diff --git a/configs/os/services/kvmd-media.service b/configs/os/services/kvmd-media.service
new file mode 100644
index 00000000..610d4859
--- /dev/null
+++ b/configs/os/services/kvmd-media.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=PiKVM - Media proxy server
+After=kvmd.service
+
+[Service]
+User=kvmd-media
+Group=kvmd-media
+Type=simple
+Restart=always
+RestartSec=3
+
+ExecStart=/usr/bin/kvmd-media --run
+TimeoutStopSec=3
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configs/os/sysusers.conf b/configs/os/sysusers.conf
index 0359974d..4ab263b5 100644
--- a/configs/os/sysusers.conf
+++ b/configs/os/sysusers.conf
@@ -1,4 +1,5 @@
g kvmd - -
+g kvmd-media - -
g kvmd-pst - -
g kvmd-ipmi - -
g kvmd-vnc - -
@@ -7,6 +8,7 @@ g kvmd-janus - -
g kvmd-certbot - -
u kvmd - "PiKVM - The main daemon" -
+u kvmd-media - "PiKVM - The media proxy"
u kvmd-pst - "PiKVM - Persistent storage" -
u kvmd-ipmi - "PiKVM - IPMI to KVMD proxy" -
u kvmd-vnc - "PiKVM - VNC to KVMD/Streamer proxy" -
@@ -19,8 +21,11 @@ m kvmd gpio
m kvmd uucp
m kvmd spi
m kvmd systemd-journal
+m kvmd kvmd-media
m kvmd kvmd-pst
+m kvmd-media kvmd
+
m kvmd-pst kvmd
m kvmd-ipmi kvmd
@@ -32,6 +37,7 @@ m kvmd-janus kvmd
m kvmd-janus audio
m kvmd-nginx kvmd
+m kvmd-nginx kvmd-media
m kvmd-nginx kvmd-janus
m kvmd-nginx kvmd-certbot