Table of Contents

NGINX - Videostreaming

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.

Basic Installation

.. in Debian Buster is easy

apt install nginx nginx-rtmp-module

Links:

Security

.. 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:

Server Side Stream Switching

Should be possible, found a workinf version here (see supllex server):

Stream twitch to RTMP Server

streamlink https://www.twitch.tv/videos/123123123 best -O | ffmpeg -i pipe:0 -c copy -f flv rtmp://xxxxx/foo/stream-A