gwuhaolin/livego ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple live video streaming server in Go that I can run locally or in Docker. I want it to accept an RTMP stream upload, give me a control endpoint to get a stream key, and then let viewers play the same stream back through RTMP, HTTP FLV, and HLS. It should support the common video and audio formats this kind of server usually needs, like H264, AAC, and MP3, and it should be easy to configure with a single config file and a few command line options.

Please make it straightforward to start, with sensible defaults, clear logs, and a way to change the listen addresses for the RTMP, FLV, HLS, and admin HTTP ports. If it makes sense, include basic support for HTTPS on HLS too. I’d also like it to be packaged so I can build it from source or run it with Docker without much setup.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab