-
Notifications
You must be signed in to change notification settings - Fork 1
Home
M Starch edited this page Jan 22, 2023
·
1 revision
Welcome to the scaleav-monitor wiki!
Here are some unaffiliated notes:
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:
- (Speculation) YouTube: used to receive the OBS live stream.
- NGINX running on podium computers via the
libnginx-mod-rtmp
plugin
To stream to the server one can either:
- Use OBS
- Use GST or FFMPEG. FFMPEG is easiest.
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;
}
}
}