Android USB Webcam RTMP Streamer
Stream live video from a USB webcam connected to an Android device directly to an RTMP service (e.g., YouTube Live, Twitch, Facebook Live, etc.).
This project uses PedroSG94’s RTMP library along with UVC camera support to handle external USB webcams.
⸻
✨ Features • 📹 Stream from USB webcams via OTG support • 📡 Push video/audio to RTMP servers (YouTube, Twitch, etc.) • 🔌 Based on PedroSG94’s RTMP/RTSP client • 🎛 Configurable video resolution, bitrate, and frame rate • 🔊 Audio capture via device microphone or USB audio (if supported) • 🧩 Built with modern Android stack (AGP 8, Kotlin 2.2, CameraX, Ktor, Coroutines, Media3)
⸻
📦 Dependencies
This project manages versions via libs.versions.toml.
Key libraries: • PedroSG94 RTMP/RTSP Client • UVCAndroid – USB camera support • CameraX – Camera framework • Media3 – media components • Ktor – Networking utilities • Kotlin Coroutines – Async programming
See libs.versions.toml for the full list.