Describe the Stream Studio in docs/studio.md

The studio had module docs but no page saying how its parts fit, what
the UI drives it with, which settings it keeps, and what is tested for
real against what only compiles. docs/studio.md covers the scene format
(with an example), the compositor and its numbers, cameras, background
replacement and the fact that no person segmentation model is in the
build yet, the outputs, the controller's commands and events and the
preview tap, the engine's hooks and settings keys, the voelinctl
commands, and the verification status. docs/media.md points to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-03 02:22:57 +03:00
1 parent f4fe3511f8
commit e361156c70
2 files changed
+299

No files matched your search

+7
View File
@@ -7,6 +7,10 @@ rendering. It does no networking:
MediaTime::new(frame.pts_90khz, Frequency::NINETY_KHZ), data)`), and received
`MediaFrame`s go to `VideoDecoder::decode`.
The Stream Studio (`studio`: scenes of sources composited into the stream's
video, recording, a replay buffer, WHIP) is described in
[studio.md](studio.md).
## API overview
| Item | What it is |
@@ -78,6 +82,9 @@ viewer: Engine::subscribe_frames ─ VideoPipeline (thread) ─ VideoDecoder
without Voelin, or a quiet sine tone with the test pattern
(`SourceId::Synthetic`, `synthetic_pattern`). The portal's restore token
is available afterwards (`restore_token()`) to store.
`Streamer::start_studio(&codecs, config, studio)` streams the Stream
Studio's composite instead, encoded from the start for the studio's
recording and replay buffer ([studio.md](studio.md#in-the-engine-voelin_corestudio-feature-media)).
- Threads: the capture backend calls the streamer's `FrameSink` on its own
thread with the frame still in its capture buffer. Frames over the
frame-rate cap (`StreamerConfig::fps`, any value >= 1) are skipped before