Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc/bin/srt.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ moq --connect https://relay.example.com/anon --broadcast event.hang import srt -

Each connection publishes under a fresh
[instance](/concept/moq-lite#publisher-instances), so an encoder that reconnects
while its stale connection is still open replaces it at once: viewers see the
broadcast restart, and their next subscribe reaches the new feed. An
while its stale connection is still open replaces it once the new feed has
declared its tracks: viewers see the broadcast restart, and their next
subscribe reaches the new feed. A source that steps onto another timeline
republishes on the same connection, as [`import ts`](/bin/ts#programs-and-changes)
does; under `--program all` it ends the ingest instead. An
`export srt` stream ends with its broadcast; `--follow` and `--stitch` follow a
return or a replacement on the same connection, as they do for
[`export ts`](/bin/cli#retention-and-latency).
Expand Down
5 changes: 3 additions & 2 deletions doc/bin/ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ description: Carry a transport stream through MoQ, demultiplexed or whole, and w
# MPEG-TS

`moq import ts` reads a transport stream on stdin and `moq export ts` writes one
to stdout. [SRT](/bin/srt) carries the same import and export over the network.
to stdout. [SRT](/bin/srt) carries the semantic import and export over the
network; it has no passthrough mode.
There are two modes, and they make different promises.

```bash
Expand Down Expand Up @@ -92,7 +93,7 @@ track and continues under a fresh name; the export announces each layout at its
next PMT `version_number`. A PAT that moves the PMT is followed, and the export
moves its own PMT behind a new PAT.

The import republishes as a new instance when the source moves onto another
The import, over stdin or SRT, republishes as a new instance when the source moves onto another
timeline: the PCR and every stream stepping back, flagged or not, a step more
than 10 s forward without `discontinuity_indicator`, or a PAT naming another
`transport_stream_id` or program number. The new stream carries nothing over
Expand Down
34 changes: 0 additions & 34 deletions quest/m1/ts-republish.md

This file was deleted.

7 changes: 5 additions & 2 deletions quest/m3/ts-multi-program-restart.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ restart path, so a changed `transport_stream_id` still ends the whole
import.

- Reuse #7780's step judgement and its "carry nothing" rule rather than a
second mechanism; decide whether the switch restarts every program or only
the ones whose identity or clock changed, and say why in the PR.
second mechanism, and the single-program `ts::Republish`
(`rs/moq-mux/src/container/ts/republish.rs`) for minting each program's next
instance with its measured mux rate, rather than a fourth copy; decide
whether the switch restarts every program or only the ones whose identity or
clock changed, and say why in the PR.
- Keep the [MPEG-TS guide](/doc/bin/ts.md#programs-and-changes)'s
rules for PAT changes that aren't a source switch (a moved PMT PID, a
program added or removed) as they are.
Expand Down
Loading