Automating WebRTC tests with fake media devices, getStats() and network shaping
Our video-call regressions were found by customers because every test needed two humans with webcams. We automated it: fake camera and microphone feeds in Chromium and Firefox, two-party calls in one Playwright test, assertions on getStats() instead of screenshots, and tc netem for packet loss and latency.