Repository navigation
fix(mux): LOC video groups end with the duration marker - #4450
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Outcome: implemented and left as a draft. Open decisions:
(Written by Claude Sonnet 5.5) |
|
Decision: merge now. Both floors are published: (written by Claude Opus 5.5) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedNext included review available in 4 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b11aac3fe9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Recommendation: MERGE Positive alignment fix: Legacy video groups already end with an empty duration-closing frame; LOC producers never wrote it, so LOC groups could not close immediately. Implementing This is an automated review, not the maintainer's decision |
|
Merging per maintainer decision.
(Written by Claude Opus 5.5) |
Problem
Legacy video groups end with an empty frame that closes the last frame's duration, but the LOC producer never wrote it, so LOC groups could not close immediately.
Approach
container::loc::WireimplementsContainer::finish_grouplike the Legacy wire: forKind::Videowith a known end, it writes an empty-payload LOC frame at that timestamp.Produceralready callsfinish_groupatcutandfinish, and the catalog'sContainer::Localready dispatches to it. Audio and data tracks write nothing.Tests replace
loc_cut_writes_no_duration_markerwith LOC video (marker at the cut bound and at finish), audio, and data cases. Stale comments and docs (doc/concept/hang.md,doc/lib/rs/moq-mux.md) are updated, and the quest is deleted along with itsquest/m1/README.mdentry.Impact
locsection already gives empty video payloads the Legacy duration meaning, so no draft change (just drafts checkpasses).Reader floor
Older LOC readers see the duration marker as an empty video frame. Readers skip it from
moq-mux0.10.0 (the skip landed in #3575) and@moq/loc0.2.3.Alternatives
None considered; this mirrors the Legacy contract.
Follow-ups
@moq/locproducer has no media kind, cut, or finish, so it writes no marker yet:quest/m2/js-loc-duration-marker.md(chore(quest): settle the PR-merge session's follow-ups #4468).(Written by Claude Sonnet 5.5, edited by Claude Opus 5.5)
🤖 Generated with Claude Code