SlideShare a Scribd company logo
DEMYSTIFIED
Anant Narayanan, Tim Terriberry
Warsaw
September 8, 2012
WHAT?
•

A set of technologies to enable real time communication in web pages
through a simple JavaScript API

•

You need three things for this to work:
Access to the webcam & microphone

Peer to peer networking

Media encoding and playback
GETUSERMEDIA
•

Web camera and microphone access with a simple API that integrates
well with other web elements like <audio> and <video>
GETUSERMEDIA
•

Integration with <video> and <canvas> opens up many possibilities!
PEERCONNECTION
•

Allows creating a peer to peer channel for audio, video and data

•

High-level API, the grimy details of connectivity checks and NAT
traversal is (mostly!) hidden
DATA CHANNELS
•

Like WebSockets, but directly from one peer to another!

•

Both reliable (like TCP) and unreliable (and UDP) modes available
MEDIA
•

VP8 for Video and Opus for Audio, just like <audio> & <video>

•

Opus - a high quality audio codec that’s great for realtime speech,
music and local playback

•

You don’t (necessarily) have to worry about encoding or decoding,
PeerConnection will automatically select the most appropriate codec
usable on both ends.

•

Integration with the Audio Data API for manipulation coming soon!
ROADMAP
•

getUserMedia available in FF17 (behind a pref), targeting FF18 for
turning it on by default

•

Targeting PeerConnection for FF18, currently available on alder for
experimental purposes

•

Current focus is on shipping a usable, “1.0” version of both the above

https://wiki.mozilla.org/Media/WebRTC
WE NEED YOU!
•

Developers: Tons of blocker bugs that need to be worked on, for both
getUserMedia, PeerConnection and other WebRTC related efforts
•
•

•

hg.mozilla.org/projects/alder - build just like mozilla-central
Write demos that use getUserMedia and/or PeerConnection

Designers: We need creative ideas and mockups for the UI that should
be presented to the user
•

•

On device access, permission grant, during use, and more...

Everybody: Tutorials, Documentation and Evangelism!
Q&A
#MEDIA
IRC.MOZILLA.ORG
DEV-MEDIA@LISTS.MOZILLA.ORG

More Related Content

PPTX
WebRTC introduction
PDF
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
PDF
Torino js
PDF
Serverless Media Workflow
PDF
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
PDF
Bluetooth Over-The-Air Firmware Update
PPTX
B wapp – bee bug – installation
PDF
Mobile Opera Browser
WebRTC introduction
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Torino js
Serverless Media Workflow
SV iOS Meetup Slides: YmsCoreBluetooth and Deep Core Bluetooth
Bluetooth Over-The-Air Firmware Update
B wapp – bee bug – installation
Mobile Opera Browser

Viewers also liked (15)

PDF
Innovating with Mozilla Labs
PDF
about:labs
PDF
Building Web Applications with MochiKit and Dojo
PDF
Next Generation Browser Add-Ons
PDF
Mozilla Prism
PDF
Error Handling in WebRTC
PDF
WebRTC: An Overview
PDF
Message Passing vs. Data Synchronization
PDF
WebRTC: A Practical Introduction
PDF
Glendix: The Why and the How
PDF
An Overview of Distributed Debugging
PDF
A Brief Incursion into Botnet Detection
PDF
Firebase: Tales from the Trenches
PDF
Distributed File Systems: An Overview
Innovating with Mozilla Labs
about:labs
Building Web Applications with MochiKit and Dojo
Next Generation Browser Add-Ons
Mozilla Prism
Error Handling in WebRTC
WebRTC: An Overview
Message Passing vs. Data Synchronization
WebRTC: A Practical Introduction
Glendix: The Why and the How
An Overview of Distributed Debugging
A Brief Incursion into Botnet Detection
Firebase: Tales from the Trenches
Distributed File Systems: An Overview
Ad

Similar to WebRTC Demystified (20)

PDF
DevCon 5 (December 2013) - WebRTC & WebSockets
PDF
Introduction to WebRTC
PDF
WebRTC: Bring real-time to the web - Barcamp Saigon 2012
PDF
WebRTC. Yet Another Overview, for IT Technicians.
PDF
WebRTC - Brings Real-Time to the Web
PPTX
WebRTC Seminar Report
PPTX
WebRTC and Web Design
PPTX
WebRTC Transforming Communications
PPTX
Html web rtc
PDF
Pkewebrtc
PPTX
PDF
WebRTC Asia Forum - What is it & why is it important? Dean Bubley, Disruptive...
PDF
What is WebRTC? What can I do with it?
PDF
WebRTC Overview by Dan Burnett
PDF
The State of WebRTC
PDF
Asterisk World (January 2014) - Taking Enterprise Telephony into the Web World
PDF
WebRTC Workshop 2013 given at the IMS World Forum
PDF
WebRTC standards update (April 2014)
PDF
WHIP WebRTC Broadcasting @ FOSDEM 2022
DevCon 5 (December 2013) - WebRTC & WebSockets
Introduction to WebRTC
WebRTC: Bring real-time to the web - Barcamp Saigon 2012
WebRTC. Yet Another Overview, for IT Technicians.
WebRTC - Brings Real-Time to the Web
WebRTC Seminar Report
WebRTC and Web Design
WebRTC Transforming Communications
Html web rtc
Pkewebrtc
WebRTC Asia Forum - What is it & why is it important? Dean Bubley, Disruptive...
What is WebRTC? What can I do with it?
WebRTC Overview by Dan Burnett
The State of WebRTC
Asterisk World (January 2014) - Taking Enterprise Telephony into the Web World
WebRTC Workshop 2013 given at the IMS World Forum
WebRTC standards update (April 2014)
WHIP WebRTC Broadcasting @ FOSDEM 2022
Ad

More from Anant Narayanan (10)

PDF
Enterprise Scale Knowledge Graphs
PDF
Building an Intelligent Assistant
PDF
WebRTC: User Security & Privacy
PDF
Firefox Architecture Overview
PDF
Mozilla Weave: Integrating Services into the Browser
PDF
Making Gentoo Tick
PDF
Introduction to XPConnect
PDF
Unix++: Plan 9 from Bell Labs
PDF
Introducing Plan9 from Bell Labs
PDF
Extending Python with ctypes
Enterprise Scale Knowledge Graphs
Building an Intelligent Assistant
WebRTC: User Security & Privacy
Firefox Architecture Overview
Mozilla Weave: Integrating Services into the Browser
Making Gentoo Tick
Introduction to XPConnect
Unix++: Plan 9 from Bell Labs
Introducing Plan9 from Bell Labs
Extending Python with ctypes

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
A Presentation on Artificial Intelligence
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Electronic commerce courselecture one. Pdf
PDF
Spectral efficient network and resource selection model in 5G networks
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
A Presentation on Artificial Intelligence
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
Dropbox Q2 2025 Financial Results & Investor Presentation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Network Security Unit 5.pdf for BCA BBA.
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Electronic commerce courselecture one. Pdf
Spectral efficient network and resource selection model in 5G networks

WebRTC Demystified

  • 1. DEMYSTIFIED Anant Narayanan, Tim Terriberry Warsaw September 8, 2012
  • 2. WHAT? • A set of technologies to enable real time communication in web pages through a simple JavaScript API • You need three things for this to work: Access to the webcam & microphone Peer to peer networking Media encoding and playback
  • 3. GETUSERMEDIA • Web camera and microphone access with a simple API that integrates well with other web elements like <audio> and <video>
  • 4. GETUSERMEDIA • Integration with <video> and <canvas> opens up many possibilities!
  • 5. PEERCONNECTION • Allows creating a peer to peer channel for audio, video and data • High-level API, the grimy details of connectivity checks and NAT traversal is (mostly!) hidden
  • 6. DATA CHANNELS • Like WebSockets, but directly from one peer to another! • Both reliable (like TCP) and unreliable (and UDP) modes available
  • 7. MEDIA • VP8 for Video and Opus for Audio, just like <audio> & <video> • Opus - a high quality audio codec that’s great for realtime speech, music and local playback • You don’t (necessarily) have to worry about encoding or decoding, PeerConnection will automatically select the most appropriate codec usable on both ends. • Integration with the Audio Data API for manipulation coming soon!
  • 8. ROADMAP • getUserMedia available in FF17 (behind a pref), targeting FF18 for turning it on by default • Targeting PeerConnection for FF18, currently available on alder for experimental purposes • Current focus is on shipping a usable, “1.0” version of both the above https://wiki.mozilla.org/Media/WebRTC
  • 9. WE NEED YOU! • Developers: Tons of blocker bugs that need to be worked on, for both getUserMedia, PeerConnection and other WebRTC related efforts • • • hg.mozilla.org/projects/alder - build just like mozilla-central Write demos that use getUserMedia and/or PeerConnection Designers: We need creative ideas and mockups for the UI that should be presented to the user • • On device access, permission grant, during use, and more... Everybody: Tutorials, Documentation and Evangelism!