WebRTC Demo
WebRTC is a technology that enables real-time audio, video, and data communication directly between web browsers and devices without needing plugins or external servers.
Interactive WebRTC Demo
A. The Offer
B. The Answer
- Open this page in two separate tabs (one is the Sender, one is the Receiver).
- Sender Tab: Click "Create Offer" and copy the text from the A box.
- Receiver Tab: Paste that text into the A box and click "Create Answer".
- Receiver Tab: Copy the new text from the B box.
- Sender Tab: Paste that text into the B box and click "Verify Answer" to connect.
How it works
This demo takes you under the hood of a video call to show how WebRTC connects two browsers directly. By manually copying the text codes back and forth, you are performing the digital handshake that usually happens invisibly in the background to swap network details.
Once connected, the video streams straight from one tab to the other without passing through a central server. WebRTC's unique ability is to create fast, private, and direct peer-to-peer connections.
Code
Links & Documentation
Ready to generate your PWA?
Try our PWA toolkit free of charge and without limits for 14 days. No credit card required.
Generate PWA See plans