Created
October 28, 2016 21:22
-
-
Save mikoim/4f85ba63f7b416d71fad4a14bc4068d0 to your computer and use it in GitHub Desktop.
Split RTMP Stream with nginx-rtmp-module
This file contains hidden or 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