Why P2P WebRTC failed at 5 users, and how I built an SFU video + chat app with LiveKit, Laravel Reverb, and Next.js [Open Source]

php dev.to

Hey everyone! I'm a 20-year-old self-taught developer from Thailand preparing to break into the industry as a junior full-stack/backend dev. I recently built an open-source group video conferencing and real-time chat app called Chatn. When I started, I thought I could just follow a basic WebRTC tutorial. But as soon as I tried scaling beyond 2 users on localhost, things broke down fast. Here are the main technical hurdles I ran into and how I solved them: The P2P WebRTC Bottleneck (Switchin

Read Full Tutorial open_in_new
arrow_back Back to Tutorials