1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

add htt.hls sample

This commit is contained in:
winlin 2014-04-05 13:56:14 +08:00
parent 30e3323fe4
commit 43979f7505

18
trunk/conf/http.hls.conf Normal file
View file

@ -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;
}
}