Skip to content

feat(huddle): add relay dropout diagnostics for agents - #4268

Draft
johnmatthewtennant wants to merge 4 commits into
mainfrom
jtennant/aaron/huddle-audio-channels
Draft

johnmatthewtennant wants to merge 4 commits into
mainfrom
jtennant/aaron/huddle-audio-channels

Conversation

@johnmatthewtennant

Copy link
Copy Markdown
Contributor

Why

When an agent's voice drops out over the Huddle relay, cumulative counters cannot tell which playback events occurred around the audible gap.

What

The development Huddle audio panel compares relay and direct Codex playback and reports decoded channels and counters along the audio path. In relay mode, the active local agent can read recent timestamps for its own voice's discarded frames and estimated playback gaps on its owner's device. The events are kept in memory for the active call and contain timing data only.

Validation

A live relay call is pending for the agent tool. The tool reports playback timing and does not provide word alignment.

johnmatthewtennant and others added 4 commits November 23, 2026 10:48
Developer settings gains a Huddle audio panel. It counts frames, gaps
and drops at each hop and can play an agent's decoded Codex voice on
this device's speaker instead of sending it through the relay, so the
two playback paths can be compared on one call. It keeps counts and
timings, never audio, and does nothing outside development.

Counted hops: Codex WebRTC receive (getStats loss and concealment),
decoded frame cadence, the page's send queue drops and IPC time, the
native encoder and socket queue drops, jitter buffer rejects and
sequence gaps, and the listener's receive cadence, playout drops and
underruns.

Co-authored-by: Simone <0828be588d5c9c4d092c5b1cf01761d5aef63d6b104807fd8e8284d517dd1a99@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: John Tennant <jtennant@block.xyz>
Co-authored-by: Aaron <f425b86c3b780d43f8d9cf1802429d04dd985bf92eac44fca9468b5ad3887c5e@buzz.block.builderlab.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Co-authored-by: Aaron <f425b86c3b780d43f8d9cf1802429d04dd985bf92eac44fca9468b5ad3887c5e@buzz.block.builderlab.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Co-authored-by: Aaron <f425b86c3b780d43f8d9cf1802429d04dd985bf92eac44fca9468b5ad3887c5e@buzz.block.builderlab.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>

This branch has not been deployed

No deployments
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