SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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/

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (11)

Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTCKranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
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 WebRTC 2015 - A closer look at the WebRTC UX/UI APIKranky Geek WebRTC 2015 - A closer look at the WebRTC UX/UI API
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 2015 - Decisions & Considerations in building your WebRTC AppKranky Geek 2015 - Decisions & Considerations in building your WebRTC App
Kranky Geek 2015 - Decisions & Considerations in building your WebRTC App
 
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTCKranky Geek WebRTC 2015 - The future of ORTC with WebRTC
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
 
Kranky Geek WebRTC 2015 - Best practices from billions of calls
Kranky Geek WebRTC 2015 - Best practices from billions of callsKranky Geek WebRTC 2015 - Best practices from billions of calls
Kranky Geek WebRTC 2015 - Best practices from billions of calls
 
Kranky Geek Sao Paulo 2016 - WebRTC Statistics and Analytics
Kranky Geek Sao Paulo 2016 - WebRTC Statistics and AnalyticsKranky Geek Sao Paulo 2016 - WebRTC Statistics and Analytics
Kranky Geek Sao Paulo 2016 - WebRTC Statistics and Analytics
 
Kranky Geek WebRTC 2015 - What's next for WebRTC?
Kranky Geek WebRTC 2015 - What's next for WebRTC?Kranky Geek WebRTC 2015 - What's next for WebRTC?
Kranky Geek WebRTC 2015 - What's next for WebRTC?
 
A jQuery for WebRTC
A jQuery for WebRTCA jQuery for WebRTC
A jQuery for WebRTC
 
Server-side WebRTC Infrastructure
Server-side WebRTC InfrastructureServer-side WebRTC Infrastructure
Server-side WebRTC Infrastructure
 
Webrtc overview
Webrtc overviewWebrtc overview
Webrtc overview
 
IETF remote participation via Meetecho @ WebRTC Meetup Stockholm
IETF remote participation via Meetecho @ WebRTC Meetup StockholmIETF remote participation via Meetecho @ WebRTC Meetup Stockholm
IETF remote participation via Meetecho @ WebRTC Meetup Stockholm
 

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

Simulcast lectures fa10
Simulcast lectures fa10Simulcast lectures fa10
Simulcast lectures fa10
Jmccloskey4
 

Ähnlich wie Kranky Geek WebRTC 2015 - What is Mozilla doing with Firefox? (20)

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

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

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