Skip to content

Authenticate your incoming RTMP connections with an easy to use script.

Notifications You must be signed in to change notification settings

kuklaondrej/nginx-rtmp-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-rtmp-auth

  • original repo here

A Python script that allows you to authenticate RTMP publishers in nginx-rtmp-module.

Usage:

  • Build NGINX with nginx-rtmp-module and see the example conf for how to setup authentication with the script.
  • Install dependencies: pip3 install -r requirements.txt
  • Edit config.ini with general settings, then edit authentication.json with your applications and stream names (also called stream keys)
  • Run with sudo python3 rtmpauth.py (sudo not needed if you are using a port number over 1000)

config.ini:

[main]
bind_to_ip = 127.0.0.1 # IP address to bind to
bind_to_port = 88 # Port to bind to
authentication_file = authentication.json
log_to_file = auth.log # File to log to - basically an access.log

About

Authenticate your incoming RTMP connections with an easy to use script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%