mirror of
https://github.com/BluemediaDev/nginx-live.git
synced 2025-07-04 22:42:40 +02:00
Make HLS playlist and fragment lengh changeable
This commit is contained in:
parent
fbca991b8c
commit
75321cb769
5 changed files with 10 additions and 4 deletions
|
@ -73,8 +73,8 @@ rtmp {
|
|||
# Turn on HLS
|
||||
hls on;
|
||||
hls_path /var/www/html/hls/;
|
||||
hls_fragment 3;
|
||||
hls_playlist_length 20;
|
||||
hls_fragment {HLS_FRAGMENT_LENGTH};
|
||||
hls_playlist_length {HLS_PLAYLIST_LENGTH};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,8 +60,8 @@ rtmp {
|
|||
# Turn on HLS
|
||||
hls on;
|
||||
hls_path /var/www/html/hls/;
|
||||
hls_fragment 3;
|
||||
hls_playlist_length 20;
|
||||
hls_fragment {HLS_FRAGMENT_LENGTH};
|
||||
hls_playlist_length {HLS_PLAYLIST_LENGTH};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue