mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
Add a signal-bars icon + ping text to the voice widget header that shows real-time connection quality. Clicking it expands a transport statistics pane with outgoing/incoming rates, packet counts, RTT, and session totals. - New lib/connectionStats.ts: polls WebRTC RTCPeerConnection stats every 2s, computes quality level from RTT thresholds - Signal icon with 4-tier coloring: green (<100ms), yellow (100-200ms), red (>200ms), with 1-4 bars lit - Expandable stats pane between header and controls - Auto-starts/stops poller on voice connect/disconnect - New createSignalIcon() in icons.ts for per-bar coloring - getRoomForStats() export from livekitSession.ts