|
|
|
@ -23,14 +23,14 @@ vhost __defaultVhost__ {
|
|
|
|
|
gop_cache on;
|
|
|
|
|
forward 127.0.0.1:19350;
|
|
|
|
|
hls {
|
|
|
|
|
hls on;
|
|
|
|
|
enabled on;
|
|
|
|
|
hls_path ./objs/nginx/html;
|
|
|
|
|
hls_fragment 5;
|
|
|
|
|
hls_window 30;
|
|
|
|
|
}
|
|
|
|
|
transcode {
|
|
|
|
|
enabled on;
|
|
|
|
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
|
|
|
enabled on;
|
|
|
|
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
|
|
|
engine ld {
|
|
|
|
|
enabled on;
|
|
|
|
|
vfilter {
|
|
|
|
@ -85,7 +85,7 @@ vhost dev {
|
|
|
|
|
gop_cache on;
|
|
|
|
|
#forward 127.0.0.1:19350;
|
|
|
|
|
hls {
|
|
|
|
|
hls off;
|
|
|
|
|
enabled on;
|
|
|
|
|
hls_path ./objs/nginx/html;
|
|
|
|
|
hls_fragment 5;
|
|
|
|
|
hls_window 30;
|
|
|
|
@ -635,7 +635,7 @@ vhost with-hls.vhost.com {
|
|
|
|
|
# whether the hls is enabled.
|
|
|
|
|
# if off, donot write hls(ts and m3u8) when publish.
|
|
|
|
|
# default: off
|
|
|
|
|
hls on;
|
|
|
|
|
enabled on;
|
|
|
|
|
# the hls output path.
|
|
|
|
|
# the app dir is auto created under the hls_path.
|
|
|
|
|
# for example, for rtmp stream:
|
|
|
|
@ -662,7 +662,7 @@ vhost no-hls.vhost.com {
|
|
|
|
|
# whether the hls is enabled.
|
|
|
|
|
# if off, donot write hls(ts and m3u8) when publish.
|
|
|
|
|
# default: off
|
|
|
|
|
hls off;
|
|
|
|
|
enabled off;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
# the vhost for min delay, donot cache any stream.
|
|
|
|
|