It's got concurrency 1 which means it can only do one task at a time.
Solely upping concurrency is not a valid solution, as often the stream start/stop events from Ably mismatch the state of the HLS livestream. If we trust ably too much, we would often record two instances of the same stream.
I think the solution is to take Ably as an indicator, and be idempotent about starting ffmpeg to download the stream.
It's got concurrency 1 which means it can only do one task at a time. Solely upping concurrency is not a valid solution, as often the stream start/stop events from Ably mismatch the state of the HLS livestream. If we trust ably too much, we would often record two instances of the same stream.
I think the solution is to take Ably as an indicator, and be idempotent about starting ffmpeg to download the stream.