File size: 2,345 Bytes
b61a3ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | # PLATFORMS β per-platform join packs & doctor output
Join packs are the browser driver's per-platform adapters. Each pack is a
versioned file (TOML) pinning the selectors and flow for one platform at a
stated browser/client build. Selector drift is the primary maintenance
cost; packs are pinned so drift is a loud failure, not a silent one.
## Pack format (browser driver, post-MVP)
```toml
[meta]
platform = "jitsi"
pack_version = 3
tested_client = "meet.jit.si 2026-06"
url_pattern = '^https://[^/]+/#?[a-zA-Z0-9-]+$'
[join]
# Ordered actions: goto β name-entry β premit-wait β admit β device-grant
steps = ["goto", "grant_permissions", "enter_name", "join"]
selectors = { enter_name = "#premeeting-name-input", join = "[data-testid='join-button']" }
[devices]
camera_selector = "video"
mic_selector = "audio"
```
Doctor output β `freestream probe --platform <p>` prints, per platform:
pack availability + version, browser build found, virtual camera present,
virtual mic present, and a join dry-run result.
## Platform status (v0.1.0)
| Platform | Path | Status |
|---|---|---|
| LiveKit (incl. self-hosted Jitsi-via-LiveKit) | `livekit` driver, native WebRTC | **MVP target** β no selectors, no ToS gray zone |
| Jitsi (meet.jit.si) | browser pack or LiveKit backend | MVP target via LiveKit driver |
| Google Meet | browser pack | Blocked until pack + virtual-camera validation; ToS gray zone (see CONSENT.md) |
| Zoom | browser pack | Same |
| Teams | browser pack | Not planned in MVP |
| SIP audio | `sip` driver | Post-MVP |
## Ship order (from the concept's next-steps)
1. **Jitsi/LiveKit first** β open stack, native driver, zero selector drift.
2. Virtual-camera injection on modern macOS browser clients (Chrome +
BlackHole) β validated per-pack before any Meet/Zoom pack ships.
3. Meet/Zoom packs last, gated on a ToS review, with the browser pack
version pinned to a tested client build.
## Virtual camera / mic
- **Linux:** v4l2loopback kernel module + PulseAudio/PipeWire null sink.
`freestream doctor` checks module presence (`/dev/v4l2byid` scan) and
sink creation rights.
- **macOS:** OBS Virtual Camera or a CoreMediaIO DAL plugin for video;
BlackHole for loopback audio. Screencapture-kit permission required.
- **Windows:** post-MVP; OBS Virtual Camera is the reference backend. |