mirror of https://github.com/ossrs/srs.git
for #136, update the config for ram hls.
parent
a23191497f
commit
dba983d124
@ -0,0 +1,20 @@
|
||||
# the config for srs to delivery hls
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
hls_fragment 10;
|
||||
hls_window 60;
|
||||
hls_storage ram;
|
||||
hls_mount /[app]/[stream].m3u8;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue