WebRTC Summary
Simplex Internet / Research Institute / Jeong, Ki-Chul
2013. 5. 23
WebRTC?
• Real-Time Communications (RTC)
Web+RTC
• via simple Javascript APIs
• Open project supported
by Google, Mozilla, Opera
Mission
• To enable
rich, high quality RTC Application
To be developed in the browser
Via HTML5 + Javascript API
History
• May 2011,
Ericsson built the first implementation
• Oct 2011,
First Public Working Draft - W3C
• Feb 2012,
WebRTC Native APIs 2.0 (libjingle r115)
• June 2012,
WebRTC Session at Google I/O
• Feb 2013,
Firefox and Chrome interop achieved
• May 2013,
WebRTC Session at Google I/O
..
...
APIS
MediaStream
• aka getUserMedia
• Get access to data streams
- Camera and MIC
MediaStream - Code
Use case of MediaStream
• like Photobooth on mac
• + CSS : Filter, Effect ..
• + Canvas : Snapshot ..
• + PeerConnection : Video Chat ..
• + JS : Face detection …
Signaling
• not part of the PeerConnection API
• whatever messaging protocol they prefer
SIP or XMPP, WebSocket, appropriate…
• The exchange of information via signaling
must have completed successfully
before peer-to-peer streaming can begin.
JSEP Architecture
Signaling sample
3 types of information to exchange
• Session control messages
to initialize communication
to close communication
to report errors
• Network configuration
• Media capabilities
codecs, resolutions
PeerConnection
• audio or video calling
with facilities
for encryption&bandwidth management
• Create a peer instance
• Most important API of 3
WebRTC Architecture
Finding connection candidates
WebRTC data pathways
DataChannels
• Like websocket, but peer 2 peer
• Other types of data, not audio/video
• Use case
Gaming, text chat, file transfer, …
Receiving…
Sending…
WebRTC support summary
WebRTC Service
• TowTruck
website to collaborate in real-time
• PeerCDN
P2P CDN
private beta, currently only chrome
• Veckon
WebRTC Video Chat
• Vline
WebRTC for integration
References
• HTML5rocks WebRTC
• W3C WebRTC
• WebRTC Official Site
• Ericsson Lab
• ICE, TURN and STUN for NAT Traversal
THANKS

Web rtc summary