URI: 
       Title: Stream live video using nginx
       Author: Solène
       Date: 26 August 2019
       Tags: openbsd gaming nginx
       Description: 
       
       This blog post is about a nginx rtmp module for turning your nginx
       server into a video streaming server.
       
       The official website of the project is located on github at:
       https://github.com/arut/nginx-rtmp-module/
       
       I use it to stream video from my computer to my nginx server, then
       viewers can use `mpv rtmp://perso.pw/gaming` in order to view the
       video stream. But the nginx server will also relay to twitch for
       more scalability (and some people prefer viewing there for some
       reasons).
       
       The module will already be installed with nginx package since OpenBSD
       6.6 (not already out at this time).
       
       There is no package for install the rtmp module before 6.6.
       On others operating systems, check for something like "nginx-rtmp" or
       "rtmp" in an nginx context.
       
       Install nginx on OpenBSD:
       
           pkg_add nginx
       
       Then, add the following to the file /etc/nginx/nginx.conf
       
           load_module modules/ngx_rtmp_module.so;
           rtmp {
               server {
                   listen 1935;
                   buflen 10s;
dataswamp.org:70 /~solene/article-rtmp:37: port field too long