Last active
August 26, 2016 16:05
-
-
Save andrewshulgin/71642858caa7101cd400 to your computer and use it in GitHub Desktop.
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
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