Make HLS playlist and fragment lengh changeable

This commit is contained in:
Oliver Traber 2021-06-04 21:38:26 +02:00
parent fbca991b8c
commit 75321cb769
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C
5 changed files with 10 additions and 4 deletions

View file

@ -26,6 +26,8 @@ if [ ! -f /setup.lock ]; then
sed -i "s/{RTMP_PORT}/$RTMP_PORT/g" /etc/nginx/nginx.conf
sed -i "s/{STREAM_KEY}/$VALID_STREAM_KEY/g" /etc/nginx/nginx.conf
sed -i "s/{HTTP_PORT}/$HTTP_PORT/g" /etc/nginx/nginx.conf
sed -i "s/{HLS_FRAGMENT_LENGTH}/$HLS_FRAGMENT_LENGTH/g" /etc/nginx/nginx.conf
sed -i "s/{HLS_PLAYLIST_LENGTH}/$HLS_PLAYLIST_LENGTH/g" /etc/nginx/nginx.conf
# Touch setup lock
touch /setup.lock