From 43979f750504046c80cb00d8a72182c037426e40 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 5 Apr 2014 13:56:14 +0800 Subject: [PATCH] add htt.hls sample --- trunk/conf/http.hls.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 trunk/conf/http.hls.conf diff --git a/trunk/conf/http.hls.conf b/trunk/conf/http.hls.conf new file mode 100644 index 000000000..799a99037 --- /dev/null +++ b/trunk/conf/http.hls.conf @@ -0,0 +1,18 @@ +# the config for srs to delivery hls +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/SampleHLS +# @see full.conf for detail config. + +listen 1935; +http_stream { + enabled on; + listen 8080; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + hls { + enabled on; + hls_path ./objs/nginx/html; + hls_fragment 10; + hls_window 60; + } +}