SlideShare a Scribd company logo
Mozilla CorporationMozilla Corporation
Canvas fun and beyond
Nils Ohlmeier - Mozilla
Mozilla CorporationMozilla Corporation
Regular getUserMedia
Mozilla CorporationMozilla Corporation
getUserMedia sample code
<video id=”preview”></video>
let pc1 = new mozRTCPeerConnection();
navigator.mediaDevices.getUserMedia(constraints).then( function(mystream) {
document.getElementById(“preview”).mozSrcObject = mystream;
mystream.getTracks().forEach(function(track) {
pc1.addTrack(track, mystream);
});
}
Mozilla CorporationMozilla Corporation
Canvas as video input for PC
● Firefox allows using a canvas as an input for your
PeerConnection (by capturing a MediaStream from it)
● Whatever you paint onto a canvas gets streamed to
the other side as video (could be recorded as well)
● Supported from Firefox 41 on (preffed off) - expected
to be preffed-on in Firefox 43
Mozilla CorporationMozilla Corporation
Canvas to PeerConnection
Mozilla CorporationMozilla Corporation
Canvas sample code
<canvas id=”painting”></canvas>
let pc1 = new mozRTCPeerConnection();
let mystream = document.getElementById(“painting”).captureStream(15);
mystream.getTracks().forEach(function(track) {
pc1.addTrack(track, mystream);
});
Mozilla CorporationMozilla Corporation
Canvas as a filter
Mozilla CorporationMozilla Corporation
Canvas demos
https://nils-ohlmeier.github.io/webrtc-landing/canvas_demo.html
https://nils-ohlmeier.github.io/webrtc-landing/canvas_filter_demo.html
Mozilla CorporationMozilla Corporation
Multiple inputs for the canvas
Mozilla CorporationMozilla Corporation
New WebRTC features in
upcoming Firefoxes
Mozilla CorporationMozilla Corporation
New WebRTC transport features
Support for IPv6 (Fx 42)
● No constraint, on by default
Support for ICE TCP (Fx 41)
● Support for active and passive candidates
● Currently still preffed off
● Simultaneous open supported, but preffed off
Prepare for > 50 ICE candidates soon ;-)
Mozilla CorporationMozilla Corporation
Upcoming audio features
● Audio perf improvements, especially on
Windows (Fx41 - Fx44)
● Support for Stereo sound (target: Fx 43)
● 32KHz Audio support (target: Fx43)
● Audio capture (for screen sharing) (target:
Fx43)
Mozilla CorporationMozilla Corporation
More upcoming features
● Simulcast support (target: >= Fx45)
● applyConstraints() for gUM MediaStreams
(target: Fx44)
● Prefs for controlling ICE candidates and
createOffer/Answer hooks (Fx42)
● Removing moz prefix from
PeerConnection (Fx43)
Mozilla CorporationMozilla Corporation
Q & A
Email: nils@mozilla.com
IRC: drno in #media
Mozilla CorporationMozilla Corporation
Links
https://nils-ohlmeier.github.io/webrtc-landing/canvas_demo.html
https://nils-ohlmeier.github.io/webrtc-landing/canvas_filter_demo.html
http://output.jsbin.com/cuvocu/
https://hacks.mozilla.org/2015/09/controlling-webrtc-peerconnections-with-
an-extension/
http://mozillamediagoddess.org/2015/09/10/webrtc-privacy/

More Related Content

PPTX
Docker 101
PDF
OpenNebulaConf 2016 - ONEDock: Docker as a hypervisor in ONE by Carlos de Alf...
PDF
Build a private cloud – prototype and test with open nebula
PDF
OpenNebulaConf 2016 - LAB ONE - Vagrant running on OpenNebula? by Florian Heigl
PDF
The Neova Health Open Source Tool Chain
PDF
CI/CD Pipeline with Octopus Deploy
PDF
Building your own Desktop Cloud Environment
PDF
Kranky Geek WebRTC 2015 - Optimizing the customer experience
Docker 101
OpenNebulaConf 2016 - ONEDock: Docker as a hypervisor in ONE by Carlos de Alf...
Build a private cloud – prototype and test with open nebula
OpenNebulaConf 2016 - LAB ONE - Vagrant running on OpenNebula? by Florian Heigl
The Neova Health Open Source Tool Chain
CI/CD Pipeline with Octopus Deploy
Building your own Desktop Cloud Environment
Kranky Geek WebRTC 2015 - Optimizing the customer experience

Viewers also liked (11)

PDF
Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
PDF
Kranky Geek WebRTC 2015 - A closer look at the WebRTC UX/UI API
PDF
Kranky Geek 2015 - Decisions & Considerations in building your WebRTC App
PDF
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
PDF
Kranky Geek WebRTC 2015 - Best practices from billions of calls
PDF
Kranky Geek Sao Paulo 2016 - WebRTC Statistics and Analytics
PDF
Kranky Geek WebRTC 2015 - What's next for WebRTC?
PDF
A jQuery for WebRTC
PPTX
Server-side WebRTC Infrastructure
PDF
Webrtc overview
PDF
IETF remote participation via Meetecho @ WebRTC Meetup Stockholm
Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
Kranky Geek WebRTC 2015 - A closer look at the WebRTC UX/UI API
Kranky Geek 2015 - Decisions & Considerations in building your WebRTC App
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
Kranky Geek WebRTC 2015 - Best practices from billions of calls
Kranky Geek Sao Paulo 2016 - WebRTC Statistics and Analytics
Kranky Geek WebRTC 2015 - What's next for WebRTC?
A jQuery for WebRTC
Server-side WebRTC Infrastructure
Webrtc overview
IETF remote participation via Meetecho @ WebRTC Meetup Stockholm
Ad

Similar to Kranky Geek WebRTC 2015 - What is Mozilla doing with Firefox? (20)

PPTX
Simulcast lectures fa10
PPT
ZCM 3rd Party Imaging
PDF
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
PDF
Building Trusted Docker Images for Hybrid Cloud: What's New With Project Hamm...
 
PDF
【Unite Tokyo 2019】Unity映像制作パイプライン完全マスター
PDF
soft-shake.ch - Introduction to HTML5
PDF
No drama here - E2E-testing django with playwright
PPTX
Tensorflow windows installation
PDF
Movi presentation Singapore video tech meetup
PPTX
C# Production Debugging Made Easy
PPTX
MVisio: A Computer Graphics Platform for Virtual Reality, Science and Education
PDF
Elizabeth Perry: Processing programming language, part 2
PDF
WebRTC Standards & Implementation Q&A - All about browser interoperability
PPTX
Silverlight 4 @ MSDN Live
PDF
2.Accessing the Pi
PPT
ENGL Imaging Toolkit
PPTX
Academy PRO: Docker. Lecture 4
PPSX
PeopleSoft Cloud Architecture - OpenWorld 2016
PDF
Streaming Tech Sweden 2019 - Serverless Media Processing
PDF
Using Docker in CI process
Simulcast lectures fa10
ZCM 3rd Party Imaging
WebRTC Standards & Implementation Q&A - getDisplayMedia 1.0
Building Trusted Docker Images for Hybrid Cloud: What's New With Project Hamm...
 
【Unite Tokyo 2019】Unity映像制作パイプライン完全マスター
soft-shake.ch - Introduction to HTML5
No drama here - E2E-testing django with playwright
Tensorflow windows installation
Movi presentation Singapore video tech meetup
C# Production Debugging Made Easy
MVisio: A Computer Graphics Platform for Virtual Reality, Science and Education
Elizabeth Perry: Processing programming language, part 2
WebRTC Standards & Implementation Q&A - All about browser interoperability
Silverlight 4 @ MSDN Live
2.Accessing the Pi
ENGL Imaging Toolkit
Academy PRO: Docker. Lecture 4
PeopleSoft Cloud Architecture - OpenWorld 2016
Streaming Tech Sweden 2019 - Serverless Media Processing
Using Docker in CI process
Ad

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
DOCX
search engine optimization ppt fir known well about this
PDF
STKI Israel Market Study 2025 version august
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Architecture types and enterprise applications.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PPT
What is a Computer? Input Devices /output devices
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
search engine optimization ppt fir known well about this
STKI Israel Market Study 2025 version august
NewMind AI Weekly Chronicles – August ’25 Week III
WOOl fibre morphology and structure.pdf for textiles
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Architecture types and enterprise applications.pdf
Developing a website for English-speaking practice to English as a foreign la...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Taming the Chaos: How to Turn Unstructured Data into Decisions
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Chapter 5: Probability Theory and Statistics
What is a Computer? Input Devices /output devices
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Group 1 Presentation -Planning and Decision Making .pptx
Enhancing emotion recognition model for a student engagement use case through...

Kranky Geek WebRTC 2015 - What is Mozilla doing with Firefox?