Project Overview

This project provides a Bash script install_nginx_rtmp.sh to set up an Nginx server with the RTMP module, enabling live streaming on Twitch and YouTube. It also includes firewall configuration for server security.

Installation & Usage

Prerequisites

  • An Debian server with root access
  • Twitch and YouTube stream keys
  • IP address of the machine authorized to publish and read the stream

Installation

  1. Run the script as root:

    sudo bash install_nginx_rtmp.sh
    

    Follow the on-screen instructions.

Usage

  1. Configure your streaming software (e.g., OBS) to send the RTMP stream to:

    rtmp://<server_ip_address>/live
    

    The stream will be automatically broadcast on Twitch and YouTube.

  2. Play the stream locally on VLC:

    • Go to Media > Open Network Stream...
    • Enter rtmp://<server_ip_address>/live

Important Notes

  • Ensure ports 1935 and 22 are open in your external firewall.
  • This script is an example; adapt it to your specific needs.
  • Live streaming consumes significant bandwidth.
Description
Git repository description for an auto-installation multistream RTMP script for Debian 12.
Readme 32 KiB
Languages
Shell 100%