Skip to content

fix(watch): decode a reordered subscription head in timestamp order (backport, 0.6.5) - #6524

Merged
kixelated merged 2 commits into
releasefrom
backport/audio-decode-order
Oct 23, 2026
Merged

kixelated merged 2 commits into
releasefrom
backport/audio-decode-order

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Summary

Backport of #6523 to release, and the @moq/watch 0.6.5 bump that publishes it.

On 0.6.4 the moq.dev Voice demo still sometimes clipped the first reply. A subscription's head groups can reach the decoder newest-first, and Chrome's AudioDecoder stamps every output from its first input. That shifts the track 140 ms forward, past the 200 ms ring that the fixed 100 ms delay allows. Both decode loops now skip a frame older than the newest one already decoded. The ring drops those frames anyway.

Differences from the main PR

Testing

  • just js check passes, and so do all 154 @moq/watch audio tests.
  • bun install --frozen-lockfile passes with the bump.

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code

kixelated and others added 2 commits October 22, 2026 23:59
…backport)

Backport of #6523 to release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T07:04:33.397270Z 1044a30 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kixelated
kixelated merged commit 4f401ab into release Oct 23, 2026
6 checks passed
@kixelated
kixelated deleted the backport/audio-decode-order branch October 23, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant