Skip to content

feat: add peer diagnostics and sanitized support reports - #569

Merged
devopvoid merged 1 commit into
mainfrom
feat/client-peer-diagnostics
Nov 8, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/client-peer-diagnostics

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Peer statistics expose measurements but leave applications to infer quality problems, debounce fluctuating readings and sanitize support exports themselves.

Add explainable peer diagnosis states and transition subscriptions for CPU-limited video, sustained inbound packet loss, TURN routing and received audio packets without PCM at subscribed sinks. Media problems and recovery require distinct measurements over a confirmation window; packet loss has separate entry and recovery thresholds. Cached reports do not advance evidence, and discontinuities or missing measurements discard stale evidence. TURN checks both selected candidates on every transport and remains informational.

Expose typed inbound and outbound audio statistics for jitter, concealment, audio levels and sample counters. Observe existing application audio sinks without attaching additional sinks, and distinguish absent observations from zero values.

Add a versioned JSON support export with cause explanations, confirmation policy, codec names, platform and Java runtime information. Its explicit allowlist excludes raw reports, connection identifiers, addresses, URLs, credentials, SDP, certificates and codec parameters. Update the client guide and runnable client example with the new API.

Expose typed audio measurements and explainable quality transitions with temporal confirmation and packet loss hysteresis. Observe existing PCM subscriptions and detect TURN on either selected candidate.

Export allowlisted diagnostic snapshots with codec, platform and runtime information while excluding sensitive connection data. Document the API and demonstrate diagnosis events in the client example.
@devopvoid
devopvoid force-pushed the feat/client-peer-diagnostics branch from 98dbf2d to 19dee3c Compare November 8, 2026 00:14
@devopvoid
devopvoid merged commit eecea41 into main Nov 8, 2026
11 of 17 checks passed
@devopvoid
devopvoid deleted the feat/client-peer-diagnostics branch November 8, 2026 00:19
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