Technology
WebRTC packet testing
Why WebRTC DataChannel?
Browsers cannot open raw UDP sockets, but WebRTC DataChannel can send real-time packets with unreliable delivery settings. That makes it a better fit than ordinary HTTP requests for diagnosing packet loss in games, calls, and live media.
What is measured?
The client records sent packets and echoed packets. The server records received sequence numbers. Combining both views allows the app to estimate upload packet loss, download packet loss, total packet loss, round-trip latency, and jitter.
Architecture
Browser | Next.js frontend | WebSocket signaling | WebRTC DataChannel v Test Server | signaling | peer connection | DataChannel echo | temporary session metrics