Abhinay8381/StreamX ? reverse-engineered prompt

Reverse engineered prompt

Build me a Java backend for a video streaming SaaS that lets people create live streams, start and end them, and watch them in the browser with low latency playback.

I want support for RTMP ingest for broadcasters, HLS playback for viewers, and a secure way to generate stream access tokens. It should keep track of stream status through the full lifecycle, handle live presence updates, and automatically trigger recording when a stream goes live. When a stream ends, it should process the saved segments into playable video files and upload them to object storage.

Please include authentication for normal users and also API key access for developer style requests. I also want a clean API with Swagger docs, plus Docker support so the whole stack can run locally with one command, including the database, cache, message queue, storage, and media server. If you need to check current docs for any of the media or storage tools, look them up online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab