Skip to content
M Starch edited this page Jan 22, 2023 · 1 revision

Welcome to the scaleav-monitor wiki!

Here are some unaffiliated notes:

RTMP and Scale Usage

OBS output format (seems) limited to RTMP. RTMP requires an RTMP server to receive the streaming video. Such servers can also allow clients to playback the RTMP streams. In the case of scale we are using two such servers:

  1. (Speculation) YouTube: used to receive the OBS live stream.
  2. NGINX running on podium computers via the libnginx-mod-rtmp plugin

To stream to the server one can either:

  1. Use OBS
  2. Use GST or FFMPEG. FFMPEG is easiest.

NGINX configuration

Install Nginx and RTMP plugin: sudo apt install nginx libnginx-mod-rtmp.

In /etc/nginx/nginx.conf add the following. Note: do NOT put this in a server block, but rather as a top level item in the nginx.conf.

# Publishing and Reading: `rtmp://localhost:1935/live/<stream>` 
rtmp {
        server {
                listen 1935;
                chunk_size 4096;

                # Publishing limited to local host
                allow publish 127.0.0.1;
                deny publish all;

                # Application hosted at "live"
                application live {
                        live on;
                        record off;
                }
        }
}
Clone this wiki locally