Skip to content

Auth-script for nginx-rtmp-module using a plaintext key

Notifications You must be signed in to change notification settings

Thor77/nginx-rtmp-keyauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-rtmp-keyauth

Very simple auth-script for nginx-rtmp-module using a plaintext key.

Installation

  • Build the binary go build server.go or download from Releases
  • Install binary cp server /usr/bin/nginx-rtmp-keyauth
  • Install systemd service cp nginx-rtmp-keyauth.service /etc/systemd/system/

Usage

  • Optional Modify key location by giving it to nginx-rtmp-keyauth as an argument
  • Write your key to /key.txt or your custom key location
  • Start the server systemctl start nginx-rtmp-keyauth
  • Configure http://localhost:8080/auth as on_publish-hook for nginx-rtmp
  • Give the key as an argument when publishing ffmpeg [...] -f flv rtmp://host:port/app/stream?key=<your key>

About

Auth-script for nginx-rtmp-module using a plaintext key

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages