Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.