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
3 changes: 2 additions & 1 deletion quest/m1/broadcast-lifecycle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ timer on main at 1582fdc07d:

- [Stateless broadcasts](/quest/m1/broadcast-lifecycle/stateless.md) - `Finish`, its linger, and finished-only supersession are gone from moq-net, `@moq/net`, moq-ffi, moq-c, and every binding
- [TS export follows by cause](/quest/m1/broadcast-lifecycle/ts-follow.md) - `export ts|srt --linger` becomes `--follow <duration>`, a replacement's catalog has no separate deadline, and a track failure is classified by its cause instead of a 1s grace
- [SRT tells a clean end from a failure](/quest/m1/broadcast-lifecycle/srt-end.md) - an SRT ingest whose peer goes silent aborts instead of finishing as if it had shut down
- [Timer cleanups](/quest/m1/broadcast-lifecycle/timers.md) - `ConnectionProps.linger` is gone and stale linger references are fixed

## Related

- [SRT on the shared socket](/quest/m2/one-port/srt-demux.md) - an SRT ingest whose peer goes silent aborts instead of finishing as if it had shut down

- [moq-transport finish interop](/quest/m2/ietf-finish.md) - the interop `finish` case, whose late readers rely on retention
- [CLI and gst flags](https://github.com/moq-dev/moq/pull/6522) - removed the opt-in `linger` booleans, leaving completion to this epic
- [Publication owner](/quest/m1/api-audit/announce-owner.md) - adds `origin::Publication`; it must not forward a `finish` this epic deletes
22 changes: 0 additions & 22 deletions quest/m1/broadcast-lifecycle/srt-end.md

This file was deleted.

13 changes: 12 additions & 1 deletion quest/m2/one-port/srt-demux.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

`moq-srt` serves from the demuxed UDP socket beside QUIC, so an SRT encoder
dials the relay's one port and the flow table pins its 4-tuple after the
induction handshake.
induction handshake. An SRT ingest whose peer goes silent aborts its
broadcast instead of finishing it as if the peer had shut down.

## Plan

Expand All @@ -29,6 +30,16 @@ test vector from a real encoder, a vector that an RTP PT0 packet is not
induction, and a test that floods provisional entries without evicting an
established one.

The driver also tells a clean end from a failure, in both the server and
the `Client` pull (`serve_publish`): a close without a valid peer Shutdown
control packet aborts the broadcast, and a clean shutdown finishes it.
Decided 2026-10-24 to land it here rather than in m1: srt-tokio 0.4.4 ends
its stream with `None` for a peer Shutdown, the peer idle timeout, and a
socket error alike, and srt-protocol keeps no close cause, so only a driver
that sees every inbound packet can tell. Test both with a mocked clock,
which the driver allows by taking `now` as input; srt-tokio reads std's
clock, so `tokio::time::pause` cannot drive its idle timeout.

Tests: `moq-srt`'s existing integration test runs against the shared socket
with a QUIC client active on the same port; a QUIC short header from a new
4-tuple during an SRT session still reaches QUIC.
Expand Down
Loading