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:
parent
30e3323fe4
commit
43979f7505
1 changed files with 18 additions and 0 deletions
18
trunk/conf/http.hls.conf
Normal file
18
trunk/conf/http.hls.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue