-
-
Save click0/e7a590875e1e8f8d5aac1a7829172b51 to your computer and use it in GitHub Desktop.
Split RTMP Stream with nginx-rtmp-module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
rtmp { | |
server { | |
listen 1935; | |
chunk_size 8192; | |
allow publish 192.168.0.0/24; | |
deny publish all; | |
application stream { | |
live on; | |
meta copy; | |
push_reconnect 1s; | |
push rtmp://live-tyo.twitch.tv/app/YOUR_KEY; | |
push rtmp://a.rtmp.youtube.com/live2/YOUR_KEY; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment