feat: improve hls config

- add segments configuration
- change directory
pull/2/head
lambda 2 years ago
parent 9692cc8d4b
commit 811cedb556

@ -63,8 +63,14 @@ output.icecast(%mp3,
radio)
output.file.hls(
temp_dir="/home/stream/tmp",
"/home/stream/hls",
id="output.hls",
playlist="livestream.m3u8",
segment_duration=2.0,
segments=5,
segments_overhead=5,
persist_at="state.config",
temp_dir="/hls",
"/hls",
[
("hi", %mp3(bitrate=320)),
("mid", %mp3(bitrate=160)),