1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #340, refine ts prefix code.

This commit is contained in:
wenjie.zhao 2015-03-13 01:32:51 +08:00
parent 10da182853
commit 5969f72354
5 changed files with 22 additions and 5 deletions

View file

@ -526,6 +526,13 @@ vhost with-hls.srs.com {
# in a word, the hls_path is for vhost.
# default: ./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,
# which use srs embeded http server to delivery HLS,
# where the mount specifies the HTTP url to mount.

View file

@ -9,7 +9,7 @@ vhost __defaultVhost__ {
enabled on;
hls_fragment 10;
hls_window 60;
# hls_entry_prefix http://127.0.0.1/;
# hls_entry_prefix http://127.0.0.1/;
hls_path ./objs/nginx/html;
}
}