docs/media.md: stream audio sources, the mixer, application capture

A "Stream audio" section covers the source kinds, how the mixer
behaves (latency, underruns, drift, limiter, meters), the audio thread's
clock and RTP time, live reconfiguration and per-source errors, the
stream.audio_sources setting, and per platform how application audio is
captured (all but ours, one app, the app list). The PipeWire note no
longer says our voices reach viewers, the pipeline diagram and streamer
bullets name the mixer, and the verification table lists the new tests
and what is only type-checked (WASAPI) or only compiled (Android).

The link manager's module doc also covers the marker property used in
sandboxes and the skipping of loopback and filter outputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-28 19:25:57 +00:00
1 parent c4dd3f564b
commit 757d7c6382
2 files changed
+100 -20

No files matched your search

@@ -34,9 +34,14 @@
//! `application.process.id`, else its client's `application.process.id`,
//! else the client's `pipewire.sec.pid`, compared with our pid and walked up
//! the `/proc/<pid>/stat` parent chain (and, without any pid, by our
//! executable's name). A playback stream is linked only once its node and
//! client details have arrived, so our playback is never linked, not even
//! briefly.
//! executable's name). In a sandbox with a pid namespace of its own the
//! daemon sees other pids than we do, so the manager's own connection
//! carries a marker property: native clients with that connection's
//! `pipewire.sec.pid` are ours too. A playback stream is linked only once
//! its node and client details have arrived, so our playback is never
//! linked, not even briefly. The playing sides of loopbacks and filters
//! (`node.link-group`) are never linked: what they replay is captured at
//! the applications that played it.
use std::cell::RefCell;
use std::collections::HashMap;