work in progress
Nginx comes with a RTMP Plugin, which can be configured to play stream HLS, RTMP and DASH. The Setup is a bit tricky and working values for Bitrate, etc are hard to find.
.. in Debian Buster is easy
apt install nginx nginx-rtmp-module
Links:
.. is not so easy.
1. Level is to allow only some IPs to publish streams via deny / allow settings in nginx 2. Level is to add a Stream Key. This does not work for me yet in OBStudio 3. ..
Links:
Should be possible, found a workinf version here (see supllex server):
streamlink https://www.twitch.tv/videos/123123123 best -O | ffmpeg -i pipe:0 -c copy -f flv rtmp://xxxxx/foo/stream-A