Add the Android 14+ MediaProjection direct-child sender, focused protocol tests, compile gate, and durable mobile/TV capability boundaries. Local official-SDK acceptance passed after GitHub runners were blocked before step execution by account billing.
39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
# Android Screen Sender
|
|
|
|
This source-only P1 slice lets an Android 14/API 34+ device publish a 720p30
|
|
screen track to at most two Web Viewers assigned as direct children by the
|
|
existing `screener-v2` controller.
|
|
|
|
## Build
|
|
|
|
Install JDK 17 and Android SDK 35, then run:
|
|
|
|
```text
|
|
./gradlew :protocol:test :app:assembleDebug
|
|
```
|
|
|
|
The debug APK is written under `app/build/outputs/apk/debug/`. CI runs the same
|
|
protocol tests and debug compile. No release signing or package publication is
|
|
configured.
|
|
|
|
## Use
|
|
|
|
Open the app, enter the HTTPS Screener base URL and site-access password, then
|
|
choose a screen or app from Android's system picker. The app keeps credentials
|
|
and room material in memory only. The displayed private invite can be opened by
|
|
an unchanged Web Viewer.
|
|
|
|
The foreground notification and system capture indicator remain visible for the
|
|
whole session. Stopping from the app or system picker closes capture, signaling,
|
|
and every PeerConnection.
|
|
|
|
## First-Slice Boundary
|
|
|
|
- Video only: no playback-capture audio or A/V synchronization yet.
|
|
- Hardware VP8/H.264 encoders only; there is no software encoder fallback.
|
|
- At most two STUN-only direct-child edges. The server remains the route owner.
|
|
- SFU publication and selected-edge TURN are not implemented. The client reports
|
|
their attempts as bounded route failures instead of claiming support.
|
|
- Rotation resize, background rebuild, Wi-Fi/cellular reselection, iOS, release
|
|
signing, and device/performance matrices remain later work.
|