Notes from building a video chat service
Short, practical articles about how browser video chat works, written from running Chatzyo. A few articles, each one worth reading, rather than a feed.
-
Random matching on Socket.IO: how the queue works and where it gets fragile
How a random video chat pairs two strangers with Socket.IO: the waiting list, the initiator rule, the 300 ms guard, and the weak points to know before copying the design.
-
What a website can and can't do once you allow your camera
What camera and microphone permission actually grants a web page, what the browser still withholds, and the exact request Chatzyo makes.
-
What happens when you press Next in a random video chat
What the Next button does behind the scenes: who is told, how fast you're matched again, and why you can sometimes meet the same person twice.
-
What one Node process holds in memory: the state behind a chat server
A look at everything a small chat server remembers in plain variables, what disappears on a restart, and what that means for the people connected.