Have you ever looked at doing this with Owncast?
OBS stream direct to HLS
If you haven't given it a shot yet, I'd love to tinker with this!
Smol server part of the pixie.town infrastructure. Registration is approval-based, and will probably only accept people I know elsewhere or with good motivation.