feat: add CC/PID preservation MUST NOTs and PCR timing note - #12
Merged
Merged
Conversation
* Add MUST NOT modify continuity counters and MUST NOT remap PIDs in §5.2; either modification silently breaks program decoding or conditional access at the receiver * Add non-normative note in §5.5 that MOQT does not guarantee inter-packet PCR timing; deployments targeting hardware IRDs may require a rate-controlled egress to re-pace packets Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two related clarifications for contribution and IRD deployments, addressing fidelity concerns raised in #7.
§5.2 — continuity counter and PID preservation
The existing text describes continuity counters, PIDs, and other transport-stream syntax as "remaining inside the source packets" — a description of what is carried, not a prohibition on modification. A publisher forwarding a source transport stream could technically rewrite continuity counters or remap PIDs while complying with the current text. Both modifications are silent disqualifiers for IRD receivers: a broken continuity counter sequence triggers decoder errors; PID remapping breaks demultiplexing and conditional access without warning. This PR adds explicit MUST NOTs to match the byte-faithful carriage requirement described in #7.
§5.5 — PCR arrival timing
The PCR and Timing section correctly handles PCR value continuity and discontinuity signaling but says nothing about inter-packet timing. Hardware IRDs derive the mux clock from the rate at which PCR-bearing packets arrive, not only from their encoded values. MOQT does not guarantee that Object delivery preserves inter-packet timing; packets arrive in bursts shaped by QUIC rather than at source mux rate. A non-normative note acknowledges this constraint, addressing the second option raised in point 4 of #7 — a statement that PCR is authoritative and that the egress should pace to it.
Changes
§5.2 Object Boundaries — add MUST NOT modify continuity counters and MUST NOT remap PIDs when forwarding a source transport stream.
§5.5 PCR and Timing — add non-normative note on inter-packet PCR timing and IRD mux-clock recovery.