Created
December 19, 2013 12:24
-
-
Save darimpulso/8038372 to your computer and use it in GitHub Desktop.
rtmp nginx
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
rtmp { | |
server { | |
listen 1935; | |
ping 30s; | |
notify_method get; | |
application myapp { | |
live on; | |
# sample play/publish handlers | |
#on_play http://localhost:8080/on_play; | |
#on_publish http://localhost:8080/on_publish; | |
# sample recorder | |
#recorder rec1 { | |
# record all; | |
# record_interval 30s; | |
# record_path /tmp; | |
# record_unique on; | |
#} | |
# sample HLS | |
# hls on; | |
# hls_path /tmp/hls; | |
# hls_sync 100ms; | |
} | |
# Video on demand | |
application vod { | |
play /var/Videos; | |
} | |
#Video on demand over HTTP | |
application vod_http { | |
play http://localhost:8080/vod/; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment