#5lively.md
Lively
A peer-to-peer video platform with WebRTC streaming and real-time chat, on its own signalling server.
- Origin
- Personal
- Role
- Author
- Period
- 2025
overview.md
- −40%Latency
- 1,000+Concurrent users
Lively is a peer-to-peer video streaming feature in Angular. It runs on a custom signalling server I wrote in Spring Boot, which keeps the WebRTC connections reliable.
Viewer A sends an offer to the signalling server, which forwards it to Viewer B. Viewer B answers through the server in the same way. After that exchange the two viewers stream media directly between them.
Real-time chat runs alongside the calls over WebSocket, so a room works for talking as well as watching.
The hard part
WebRTC is easy to demo and hard to make reliable: NAT traversal, connection state, and latency under load all get in the way. I owned the signalling server end to end, and it held up for over a thousand concurrent users while cutting latency by 40%.
Stack
stack.diff
- Angular
- WebRTC
- WebSocket
- Spring Boot