I opensourced our zom.bi live streaming server setup today
You can have a look on https://github.com/zom-bi/zomstream
It's basically nginx-rtmp and a selfmade python player frontend glued together by docker-compose.
Mastodon Instance of the zom.bi Community
Registration is currently only possible for users having a @zom.bi email address.