Skip to content

📺 Build your own video streaming site using nginx-rtmp module.

License

Notifications You must be signed in to change notification settings

Athlon1600/nginx-rtmp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

52aa4b1 Â· Oct 13, 2023

History

45 Commits
Oct 13, 2023
Sep 24, 2023
Jan 31, 2023
Sep 23, 2023
Oct 10, 2023
Feb 1, 2023
Jan 31, 2023
Sep 23, 2023
Sep 24, 2023
Oct 12, 2023
Apr 30, 2021

Repository files navigation

GitHub last commit Top language

Video Streaming Server

Self-host your own Amazon IVS like service for cheap.

See a demo here - https://demo.streamplanet.tv/

Installation

Download all the files first:

git clone https://github.com/Athlon1600/nginx-rtmp-server.git

Next, you need docker.

Windows
If you are testing this from your local windows computer, download Docker from here: https://docs.docker.com/docker-for-windows/install/

Linux
On your linux machine, just run this command on your fresh box

bash <(wget -O - https://raw.githubusercontent.com/Athlon1600/nginx-rtmp-server/master/install.sh)

Once installed, run either:

docker-compose up --build --abort-on-container-exit
docker-compose up --build -d

and that is it! This will launch to services:

  • HTTP Nginx Server on http://localhost:8090
  • RTMP Ingest Server on rtmp://localhost:1935

Technical Notes

Powered by RTMP module for nginx.
https://www.nginx.com/products/nginx/modules/rtmp-media-streaming/

The original codebase stopped receiving updates years ago:
https://github.com/arut/nginx-rtmp-module

We will be using this fork instead:
https://github.com/sergey-dryabzhinsky/nginx-rtmp-module

Projects using this library

Links