Closed loan-talvat closed 1 year ago
Occasionally output.harbor.hls
and output.file.hls
can output incomplete files.
output.harbor.hls([("mp3", %mp3)], sine(), segment_duration=0.01, segments=1000)
while true;do curl -s http://localhost:8000/mp3.m3u8 | wc -l;done
2005
2005
0
2005
2005
Liquidsoap: 2.0.7, 2.1.4, 2.2.0
Container image: savonet/liquidsoap
Thanks for reporting. This is addressed with https://github.com/savonet/liquidsoap/pull/3286 which I'll merge as soon as it's been properly tested.
Although this breaks the even API, I think that this is a good candidate for a rolling-release backport.
If y'all need a workround, it's possible to used a separate folder for nginx
serving and use the (soon to be deprecated) "closed"
event to move files when they are done writting.
We are using Liquidsoap in Azuracast, and we have an issue for HLS with Liquidsoap Here is the detail of the error encountered: https://github.com/AzuraCast/AzuraCast/issues/6184
Is it possible to fix this problem?