Skip to content

Instantly share code, notes, and snippets.

@andrewshulgin
Last active August 26, 2016 16:05
Show Gist options
  • Save andrewshulgin/71642858caa7101cd400 to your computer and use it in GitHub Desktop.
Save andrewshulgin/71642858caa7101cd400 to your computer and use it in GitHub Desktop.
worker_processes 4;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
application input {
live on;
exec /tmp/avconv-script $name;
deny play all;
}
application output {
live on;
allow publish 127.0.0.1;
deny publish all;
allow play all;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment