Last active
August 29, 2015 14:12
-
-
Save davibe/4fbfe4cf1601a95a5bf1 to your computer and use it in GitHub Desktop.
nginx-rtmp on ec2 conf
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
env PATH; | |
worker_processes 0; | |
daemon off; | |
master_process off; | |
rtmp_auto_push off; | |
events { | |
worker_connections 2048; | |
} | |
rtmp { | |
access_log /static/logs/nginx_rtmp.log; | |
max_streams 32; | |
server { | |
listen 1935; | |
chunk_size 4096; | |
buflen 10s; | |
application live_test_no_rec { | |
live on; | |
record off; | |
drop_idle_publisher 5s; | |
publish_notify on; | |
} | |
application live_test_rec { | |
live on; | |
drop_idle_publisher 5s; | |
publish_notify on; | |
recorder live_test_recorder { | |
record all; | |
record_path /static/contents; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment