Developer's Onboarding Guide
Welcome to the DroidV4L2 developer community. The project consists of an Android (Kotlin) sender and a Linux (Rust) receiver.
🛠 Environment Setup
1. Android (Sender)
- IDE: Android Studio Jellyfish+ or later.
- SDK: API Level 34 (Android 14) for compile, min SDK 24 (7.0).
- Core Libs:
- TinyRtspKt: Ensure it's properly included.
- CameraX: For video capturing.
2. Linux (Receiver)
- Language: Rust 1.70+.
- System Packages:
🚀 Development Workflow
- V4L2 Setup:
- Start Bridge:
- Android Connect: Run the App, enter PC IP, select protocol, and click Apply.
🧪 Debugging Tips
- Verify Stream: Use
gst-launch-1.0 v4l2src device=/dev/video10 ! videoconvert ! autovideosinkto test the V4L2 device. - Latency Analysis: Monitor Android logs for
KEY_LATENCYeffectiveness. - Coroutine Tracing: Monitor RTSP signals within
TinyRtspKtusing Timber or Logcat.
[!TIP] See Architecture for deeper implementation details.