Real-time
Video calls and live chat built into a learning platform
- WebRTC
- WebSockets
- Node.js
- Nuxt
- MariaDB
- Linux
The problem
A language-exchange platform needed learners in different countries to talk face to face and message each other, securely, without leaving the site.
What I did
- Built browser-to-browser video calls with WebRTC, with nothing for learners to install
- Added real-time messaging alongside the calls, over WebSockets
- Ran it on a Linux server with automated tests and deployment
Two browsers, one call.
- Learner's browserCamera and microphone
- PlatformSets up the call
- WebRTC connectionVideo and audioNothing to install
- Partner's browserCall and live chat
Need the same?
Related writing
WebRTC: connecting people in real time, part 1What WebRTC is, and the pieces browsers use to connect people directly in real time.WebRTC and the getUserMedia API: a step-by-step guideCapturing camera and microphone streams with getUserMedia, step by step.WebRTC and RTCPeerConnection: establishing a peer-to-peer connectionSetting up an RTCPeerConnection: offers, answers, ICE candidates and the remote stream.