This document discusses the rise of peer-to-peer communication on the web through WebRTC. WebRTC allows real-time communication like audio and video calls directly in web applications without plugins. It consists of APIs for getting media, creating peer connections, and exchanging data between peers. WebRTC enables embedded contextual communication across different applications on various platforms, though support is still limited on some browsers.
2. is a web dev for 17 years
lives in Singapore
loves great UX
organizes JSConf.Asia and CSSConf.Asia
mentors at SEA’s first startup accelerator JFDI
helps developers use WebRTC
Thomas
@serrynaimo
3. A set of JavaScript APIs in the
browser to enable
peer-to-peer, real-time media
and data exchange
WebRTC
@serrynaimo
9. everything requiring the lowest latency/fastest
possible between individual peers, like
- Audio/Video Calling
- Conferencing
- Live presentations
- Direct file transfer
- Synced music streaming
Resilient, decentralized mesh networking for
- Sensor data exchange
- File/Content distribution
It’s great for
@serrynaimo
10. everything requiring reliable data transport, like
- Traditional music or video streaming
asyncronous communication
- Persistant chat
- Gaming (single event bus)
Don’t use it for
@serrynaimo
12. by typing their number into your phone
installing Skype and exchanging names
get Gmail address, add contact, use hangouts
Usual “web” calling
Talk to anybody
@serrynaimo
15. host on Travelmob/Airbnb
Uber/Lyft driver
Doctor on Medifi/Teladoc
Restaurant on Hungrygowhere/Yelp
Property agent on 99.co/Realtor
Customer support through Zendesk/Freshdesk
Your friends in WhatsApp/Line/Snapchat
Seller on Carousel/eBay
…
WebRTC
Call your
@serrynaimo
16. Peer Introduction
Known party
A B
ICE
A simple message broker to facilitate the
connection establishment between peers.
Signaling Service
@serrynaimo
17. Media Relaying
A B
representing you as a peer if a direct connection
to your device can not be established (e.g. due
to firewall constraints)
TURN
Firewall
TURN for B
@serrynaimo