Skip to content
Merged
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1232,12 +1232,16 @@ plus 1 for each captured source it shows that program does not. When the program
encodes on hardware, so do the sources, and a
session the GPU refuses fails that source's track with the encoder's reason on
its layer rather than falling back to software. The source keeps
drawing in the studio's own scenes. The program opens its session before any
source, even with on demand, so the sources past the cap fail rather than
the program; so does each scene published in the scene file at startup. A
scene published later, past the cap, publishes without video and says why in
Settings' Show tab. When the program encodes in software, a source takes hardware
where it can and software otherwise.
drawing in the studio's own scenes. The program comes first: when the GPU
refuses the program or a published scene an encoder, such as going live while
the sources on program hold every session, the studio closes the encoders those
sources keep only for a replay of their recent past and opens the program's in
their sessions. Each such source reopens once a session is given back, such as
when the stream ends, its replay starting over; one whose track something reads,
such as a recording, keeps its encoder. A scene published past the cap with no
replay left to close publishes without video and says why in Settings' Show
tab. When the program encodes in software, a source takes hardware where it can
and software otherwise.

### Published independently

Expand Down
29 changes: 0 additions & 29 deletions quest/m0/program-encoder-priority.md

This file was deleted.

10 changes: 10 additions & 0 deletions rs/moq-scene/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ pub enum Error {
#[error(transparent)]
Net(#[from] moq_net::Error),

/// Every encode session [`Sessions::capped`](publish::Sessions::capped)
/// allows is open.
#[error("all {0} encode sessions are open")]
Sessions(usize),

/// A replay encoder may not open while the program reclaims their
/// sessions.
#[error("the program is reclaiming the replay encoders' sessions")]
Reclaimed,

/// A browser source's page failed, or its helper process stopped.
#[error("browser: {0}")]
Browser(String),
Expand Down
Loading