Repository navigation
feat(huddle): add relay dropout diagnostics for agents - #4268
Draft
johnmatthewtennant wants to merge 4 commits into
Draft
johnmatthewtennant wants to merge 4 commits into
johnmatthewtennant wants to merge 4 commits into
Conversation
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
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.
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.