doc(readme): update machines blog post links

This commit is contained in:
Renken 2024-05-12 20:44:43 +02:00
parent b1b654331c
commit e9c4a7abf6
Signed by: renken
GPG key ID: 1F2BB159B645E575
2 changed files with 24 additions and 4 deletions

View file

@ -8,8 +8,8 @@ configuration that would suit my real world usage.
### Siga
[Desktop PC](https://shione.net/log/archive/2023/06/1687104871/index.html)
running GNU/Linux Debian stable.
[Desktop PC](https://shione.net/2023/06/18/siga-desktop.html) running GNU/Linux
Debian stable.
### Tabi
@ -17,8 +17,8 @@ Lenovo Thinkpad x260 laptop running GNU/Linux Debian stable.
### Shione
NiPoGi CK10 with the Intel Core i7-10810U Mini PC server running GNU/Linux
Debian stable.
[NiPoGi CK10](https://shione.net/2023/12/23/self-hosting-shione.html) Mini PC
server running GNU/Linux Debian stable.
## HOWTO

20
srt-server Executable file
View file

@ -0,0 +1,20 @@
#!/bin/sh
set -eux
# This worked somehow.
# srt-live-transmit 'srt://:60001?mode=listener&bandwidth=60000&timeout=10000' srt://:60000 -v
# 1mbps, see https://medium.com/@michael_70509/configuring-srt-properly-d89517354d0d
bandwidth="${SRT_BANDWIDTH:-250000}"
# 1 second in microseconds, see https://obsproject.com/wiki/Streaming-With-SRT-Or-RIST-Protocols.
timeout="${SRT_TIMEOUT:-2000000}"
latency="${SRT_LATENCY:-30}"
# Extra arguments must start with '&'
input_extra_args="${SRT_INPUT_EXTRA_ARGS:-}"
output_passphrase="${SRT_PASSPHRASE:-}"
srt-live-transmit \
"srt://:60001?mode=listener&bandwidth=$bandwidth&timeout=$timeout&latency=$latency$input_extra_args" \
"srt://:60000$output_passphrase" \
-v