|
|
@ -526,6 +526,13 @@ vhost with-hls.srs.com {
|
|
|
|
# in a word, the hls_path is for vhost.
|
|
|
|
# in a word, the hls_path is for vhost.
|
|
|
|
# default: ./objs/nginx/html
|
|
|
|
# default: ./objs/nginx/html
|
|
|
|
hls_path ./objs/nginx/html;
|
|
|
|
hls_path ./objs/nginx/html;
|
|
|
|
|
|
|
|
# the hls entry prefix, which is base url of ts url.
|
|
|
|
|
|
|
|
# if specified, the ts path in m3u8 will be like:
|
|
|
|
|
|
|
|
# http://your-server/live/livestream-0.ts
|
|
|
|
|
|
|
|
# http://your-server/live/livestream-1.ts
|
|
|
|
|
|
|
|
# ...
|
|
|
|
|
|
|
|
# optional, default to empty string.
|
|
|
|
|
|
|
|
hls_entry_prefix http://your-server/;
|
|
|
|
# the hls mount for hls_storage ram,
|
|
|
|
# the hls mount for hls_storage ram,
|
|
|
|
# which use srs embeded http server to delivery HLS,
|
|
|
|
# which use srs embeded http server to delivery HLS,
|
|
|
|
# where the mount specifies the HTTP url to mount.
|
|
|
|
# where the mount specifies the HTTP url to mount.
|
|
|
|