https://git.v0l.io/Kieran/zap-stream-core/src/commit/96e4a38e099d959553d8026a5bb4af37b55c7564/src/egress/hls.rs#L98-L124
Need this in notedeck…