aguerson / live-streaming-server

Live Streaming Server based on NGINX and NGINX-RMTP-Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

live-streaming-server

Live Streaming Server based on NGINX and NGINX-RMTP-Module

License: GNU GPL v3 or later

Docker Compose Environments

  • ENABLE_SSL_CERTBOT - if set to "true" Certbot will be run to generate certificates (Default: false)
  • STREAMING_SERVER_EMAIL - Email for generating certificates
  • STREAMING_SERVER_DOMAIN - Domain of the certificates (Default: _)

Cerbot

Command: certbot certonly --standalone -d $STREAMING_SERVER_DOMAIN --email $STREAMING_SERVER_EMAIL -n --agree-tos --expand --deploy-hook "nginx -s reload"

--deploy-hook "nginx -s reload": reloads NGINX if a new certificate is generated

Streaming

The server receives an RTMP stream and transcode it in

  • 1920x1080
  • 1280x720
  • 854x480

Send stream to server

rtmp://HOST/stream/STREAMING_KEY

Receiving stream from server

https://HOST/live/STREAMING_KEY.m3u8 - Contains all streaming resolutions

Get only on resolution

About

Live Streaming Server based on NGINX and NGINX-RMTP-Module

License:GNU General Public License v3.0


Languages

Language:XSLT 83.6%Language:Dockerfile 11.4%Language:Shell 5.0%