tugayoktayokay/expo-live-stream — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an Expo React Native live streaming module and a small example app to test it. I want to broadcast from the phone camera to an RTMP or RTMPS server, and I also want a viewer screen that can play an RTMP stream in the app.

The broadcaster should have a full screen camera preview, start and stop buttons, switch camera, mute mic, flash, quality choices like 720p and 1080p, and show live stats such as bitrate, duration, and bytes sent. Please include auto reconnect if the connection drops, plus simple error and status messages so I know what’s happening.

The player should support auto play, pause, resume, stop, reconnect on failure, and handle rotation cleanly. Add support for a simple text or image watermark on the stream. Make it work on iOS and Android through Expo native modules, with TypeScript hooks that are easy to use. Look up current docs online if you need to.

Want more depth? Deep Reverse