Created
October 23, 2019 16:34
-
-
Save kyroskoh/675510c06f276d2050ef4074bc78e337 to your computer and use it in GitHub Desktop.
NGINX-RTMP push to Twitch and Hitbox
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
#user nobody; | |
worker_processes 1; | |
error_log logs/rtmp_error.log debug; | |
pid logs/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
rtmp { | |
server { | |
listen 1935; | |
chunk_size 8192; | |
application stream { | |
live on; | |
meta copy; | |
push rtmp://live-ams.twitch.tv/app/live_XYZ_ZXY; | |
push rtmp://live.hitbox.tv/push/username?key=XYZ; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment