I got my first computer, a ZX Spectrum 128K, when I was 10. Decades later I'm still doing the same thing: taking something apart to see how it works. This year that something was random video chat , the Omegle-style "press Start, talk to a stranger, press Next" experience.
The result is Chaface , a free random video chat (18+) that runs in the browser and on Android. This post is about the architecture and, more usefully, the bugs. Most WebRTC tutorials stop at "two tabs on localhost can see each other". Real users on 4G, on old phones and pressing Next every two seconds are a different story.
The stack
Frontend: React + TypeScript (Vite), the browser WebRTC API, Socket.IO client.…