Skip to content

Instantly share code, notes, and snippets.

@noname007
Created October 30, 2015 11:52
Show Gist options
  • Save noname007/a264a129c17dc06c6a20 to your computer and use it in GitHub Desktop.
Save noname007/a264a129c17dc06c6a20 to your computer and use it in GitHub Desktop.
NGINX-RTMP push to Twitch and Hitbox
#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