Skip to content

Instantly share code, notes, and snippets.

@haxpor
Created April 6, 2019 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haxpor/9f567ac120a35539a03ff8845099731e to your computer and use it in GitHub Desktop.
Save haxpor/9f567ac120a35539a03ff8845099731e to your computer and use it in GitHub Desktop.
nginx configuration used to serve rtmp working with ffmpeg
rtmp_auto_push on;
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
}
application live-video {
live on;
record off;
}
application live-audio {
live on;
record off;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment