Created
May 7, 2014 03:13
-
-
Save hSammir/ad67097085dc53092ec4 to your computer and use it in GitHub Desktop.
Contoh konfigurasi nginx-rtmp-module.
This file contains hidden or 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
| events { | |
| worker_connections 1024; ## Default: 1024 | |
| } | |
| http { | |
| server { | |
| listen 8080; | |
| server_name localhost; | |
| } | |
| } | |
| rtmp { | |
| server { | |
| listen 1935; | |
| chunk_size 4000; | |
| application mytv { | |
| # enable live streaming | |
| live on; | |
| # record first 1K of stream | |
| record all; | |
| record_path /home/hsammir/TMP/av; | |
| record_max_size 1K; | |
| # append current timestamp to each flv | |
| record_unique on; | |
| # publish only from all ip | |
| allow publish all; | |
| #deny publish none; | |
| #allow play all; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment