Skip to content

docs: conference sharing roadmap (more streams, app and screen share, desktop audio) - #1018

Merged
transfix merged 4 commits into
masterfrom
docs/conference-sharing-roadmap
Nov 4, 2026
Merged

transfix merged 4 commits into
masterfrom
docs/conference-sharing-roadmap

Conversation

@transfix

@transfix transfix commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

The plan for the Ariadne conference, docs only: nothing is built. The owner settled its decisions on 2026-11-03 (§12).

The ask: send more than one camera and mic; share the Ariadne GL frame (the whole window or chosen windows) beside the camera; share the desktop or other applications' windows; and send the desktop's stereo audio in sync with it.

docs/roadmap/CONFERENCE_SHARING.md covers:

  • where the media plane stands today: the wire knows only "camera" / "mic", the client forwards exactly two streams, the mixer is mono, and video is MJPEG only;
  • SH0, named streams with descriptors, a capability record per client (transports, encoders, decoders, capture), relay classes and subscriptions, and a stereo mixer; SH0b, a browser capture seam;
  • SH1, an inter-frame share codec (H.264 first, VP9 as the native fallback), keyframe requests, a keyframe-aware relay, thumbnails, and no relay transcoding;
  • SH2a, a robust WebSocket path (a priority send queue with chunking); SH2b, a WebRTC media leg (RTP tracks, the relay as SFU, simulcast). The capability record and the relay's per-device record choose the path for each stream;
  • SH3, app share: PBO readback or canvas.captureStream, cropped windows, then composed windows, with share: never privacy;
  • SH4 and SH5, screen and desktop-audio capture per platform (getDisplayMedia, Windows.Graphics.Capture with WASAPI process loopback, ScreenCaptureKit, the portal with PipeWire), built for the browser and natively in parallel, each leaving out our own playback where it can;
  • sync groups with capture-time stamps, the SH6 UI (including a share on a screen in the 3D room), the phases, and the risks.

Decisions:

  • D1: H.264 first, VP9 as the fallback.
  • D2: browser and native capture in parallel.
  • D3: thumbnails by default, full rate on stage.
  • D4: everyone may share.
  • D5: WebRTC and a robust WebSocket, both first-class, chosen by the capability record.
  • D6: allow desktop audio with a warning where our own playback can't be left out.
  • D7: live share later.

The parent roadmap gains a §5l pointer and a row in §12.

… desktop audio)

A proposed plan, nothing built: named streams per participant with
descriptors and relay classes, an inter-frame share codec (H.264 / VP9,
keyframe-aware relay, thumbnails), a priority send queue with chunking,
app share of the GL frame, per-platform screen and desktop-audio
capture, sync groups, phases SH0-SH6 and seven open decisions.
The parent roadmap gains a 5l pointer.
D1 H.264 first with VP9 as the fallback; D2 browser and native capture in
parallel; D3 thumbnails, full rate on stage; D4 everyone may share; D5
WebRTC and a robust WebSocket, both first-class, chosen per stream from a
capability record per client and the relay's per-device record; D6 allow
desktop audio with a warning where our playback cannot be left out; D7
live share later. SH2 splits into SH2a (WS) and SH2b (WebRTC media leg).
ubuntu-latest now runs ubuntu-26.04 with GCC 15.2, whose libstdc++ no
longer brings <algorithm> in through <random>, <thread> and the rest.
state_compression_registry_test stopped compiling on every Linux job
("'sort' is not a member of 'std'"). state_brick_frustum_test's
std::find leaned on the same transitive include. A scan of src, inc,
examples and bindings found no other file calling an <algorithm> or
<numeric> function without reaching the header itself.
@transfix
transfix enabled auto-merge (squash) November 4, 2026 07:32
@transfix
transfix merged commit d9f3e6c into master Nov 4, 2026
14 of 27 checks passed
@transfix
transfix deleted the docs/conference-sharing-roadmap branch November 4, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant