SlideShare a Scribd company logo
WebRTC, what’s in it for me?
MY BACKGROUND
1
Pion
Collection of Go RTC libraries


- Building blocks to build your vision


- Designed to be flexible


- Community Owned/Non-Commercial


PeerConnection API in Pure Go


- CreateOffer/AddTrack/….


- User controls media pipeline


- SettingEngine


- Interceptors
2
Pion
TURN as an API in Pure Go


- Callbacks for authentication


- Bring your own logger


- Run TURN and HTTPS on same port


- Embed TURN in application


Ion


- Cluster based system for building RTC


- SFU Instance


- AVP Instance (Processing real-time media)


- LIVE Instance (SIP/RTMP/HLS Endpoints)
3
WebRTC for the Curious
Book on how WebRTC really works


- Not just about the public APIs!


- Deep dive on protocols


History of WebRTC


- Interviews with RFC authors


WebRTC in practice


- Debugging every piece


- Teach the sharp edges
WHAT IS WEBRTC?
4
Protocol for Browsers
E2E Secure Connection between Peers


- You decide the topology


Multiple Audio/Video Tracks


Binary Data


- Can be lossy


- Can be unordered


- Multiple distinct DataChannels
5
And More!
- aiortc (Python)


- GStreamer’s webrtcbin (C)


- werift (Typescript)


- Pion (Golang)


- Shiguredo (Erlang)


- |pipe| (Java)


- rawrtc (C++)


- webrtc-rs (Rust)


- AWS WebRTC (C/Embedded)


- ?
6
Bundling of existing protocols
You might already know these!


- (S)RTP


- DTLS


- ICE


- SDP


WebRTC in 4 steps


- Signaling


- Connecting


- Securing


- Communicating
WEBRTC IN A RTMP WORLD
7
Lower Latency
You can expect sub 500ms


- TCP/TURN may effect this


- You can make a choice of quality vs latency


You can get it much lower though!


- Google Stadia sees 125ms for keypress [0]


- playoutDelayHint API


[0] https://www.pcgamer.com/heres-how-stadias-input-lag-compares-to-native-pc-gaming/
8
Secure By Default
DTLS and SRTP


- TLS over UDP


- Self-Signed, fingerprint via signaling


You can use existing gateways/proxies
9
Flexible Networking
NAT Traversal


- Video never has to enter your network!


- Feels like ‘automatic port forwarding’


- Also can route through a ‘WebRTC Server’


Stay connected as you roam


- Switch networks with ICE Restarts


- Congestion Control in userspace
10
Advanced Media Capabilities
Upload Multiple Quality Levels via Simulcast


- Stop running expensive transcoders!


Add/Remove tracks at anytime on either side


- You can mix/match codecs


Fast moving and widely adopted


- H265 and AV1 Support (not all Agents yet)
11
Binary/Text Communication
Great for sending metadata


- Users in a room, chat etc…


E2E Secure


- No reason to upload this stuff to backend


Great for real-time


- Can be unordered/reliable


- Avoid HoL blocking
12
It’s a standard
Widely Available


- C, C++, Go, Python, Rust, Android, iOS….


Remove subjectivity from incompatibilities


- Community is directed and resolving issues


It’s in the browser


It’s easy to bridge


- Uses existing protocols from telephony
WEBRTC IN A SRT WORLD
13
Agents negotiate in-band
Codec Negotiation is in the protocol


- You can declare I support X only


- Don’t have to put this logic in your codec


Track Negotiation is in the protocol


- I am willing to accept n tracks


- I am going to send you n tracks
14
Re-uses existing protocols
Widely Available


- C, C++, Go, Python, Rust, Android, iOS….


It’s in the browser


It’s easy to bridge


- Uses existing protocols from telephony


- If you want to view in the browser….
WEBRTC IN A RIST WORLD
15
A Simpler WebRTC
Optional Security


Negotiation isn’t handled by the protocol


- Interoperation will need to be solved
OPEN SOURCE SHOWCASE
ns-remote


16
kerberos.io


17
CloudRetro.io
18
19
Neko


github.com/nurdism/neko
20
TelloGo
21
ascii
22
cloud-morph
23
ssh-p2p
24
Snowflake
webwormhole.io


25
s4y/space
26
Project
Lightspeed
27
28
github.com/pion


pion.ly/slack


twitter.com/_pion


sean@pion.ly

More Related Content

PDF
WebRTC: Mostly Video Bits
SeanDuBois3
 
PDF
FOSDEM 2020: How can we make WebRTC Easier?
SeanDuBois3
 
PPTX
WEBRTC_SEMINAR_FOR_TEAM_by_daebalprime
Daeyeon Kim
 
PPTX
Things I wished I knew before building my first WebRTC app - RTE2020
Alberto González Trastoy
 
PDF
WebRTC in IOT presented in KrankyGeek
ALTANAI BISHT
 
PDF
WebRTC Live Q&A and Screen Capture session 3
Amir Zmora
 
PDF
WebRTC Real time media P2P, Server, Infrastructure, and Platform
Ryan Jespersen
 
PDF
Webrtc overview
Olle E Johansson
 
WebRTC: Mostly Video Bits
SeanDuBois3
 
FOSDEM 2020: How can we make WebRTC Easier?
SeanDuBois3
 
WEBRTC_SEMINAR_FOR_TEAM_by_daebalprime
Daeyeon Kim
 
Things I wished I knew before building my first WebRTC app - RTE2020
Alberto González Trastoy
 
WebRTC in IOT presented in KrankyGeek
ALTANAI BISHT
 
WebRTC Live Q&A and Screen Capture session 3
Amir Zmora
 
WebRTC Real time media P2P, Server, Infrastructure, and Platform
Ryan Jespersen
 
Webrtc overview
Olle E Johansson
 

What's hot (20)

PPTX
WebRTC & Asterisk 11
Sanjay Willie
 
PDF
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Paolo Saviano
 
PDF
WebRTC and Janus intro for FOSS Stockholm January 2019
Olle E Johansson
 
PDF
Janus conf'19: janus client side
Alexandre Gouaillard
 
PPTX
WebRTC Browsers n Stacks Implementation differences
Alexandre Gouaillard
 
PDF
Asterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus Gateway
Alessandro Polidori
 
PPTX
Real-Time Communication Testing Evolution with WebRTC
Alexandre Gouaillard
 
PDF
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Samsung Open Source Group
 
PDF
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
Lorenzo Miniero
 
PDF
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 
PDF
Introduction to Linux-wpan and Potential Collaboration
Samsung Open Source Group
 
PDF
Janus Workshop pt.2 @ ClueCon 2021
Lorenzo Miniero
 
PPTX
Allwinner Kernel Upstreaming Experiences
Chen-Yu Tsai
 
PDF
JerryScript on RIOT
Samsung Open Source Group
 
PDF
CNIT 140: Flashing Firmware
Sam Bowne
 
PPTX
[ElastixWorld 2016] mediasoup: Powerful WebRTC SFU for Node.js
Iñaki Baz Castillo
 
PPTX
Upstream Allwinner ARM SoC (sunxi) Support
Chen-Yu Tsai
 
PPTX
WebRTC From Asterisk to Headline - MoNage
Chad Hart
 
PDF
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Samsung Open Source Group
 
PDF
WebRTC meetup barcelona 2017
Juan De Bravo
 
WebRTC & Asterisk 11
Sanjay Willie
 
Talk@JanusCon2019: Janus, WebRTC and ML - Fantastic technologies and how to m...
Paolo Saviano
 
WebRTC and Janus intro for FOSS Stockholm January 2019
Olle E Johansson
 
Janus conf'19: janus client side
Alexandre Gouaillard
 
WebRTC Browsers n Stacks Implementation differences
Alexandre Gouaillard
 
Asterisk WebRTC frontier: make client SIP Phone with sipML5 and Janus Gateway
Alessandro Polidori
 
Real-Time Communication Testing Evolution with WebRTC
Alexandre Gouaillard
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Samsung Open Source Group
 
Scaling WebRTC deployments with multicast @ IETF 110 MBONED
Lorenzo Miniero
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 
Introduction to Linux-wpan and Potential Collaboration
Samsung Open Source Group
 
Janus Workshop pt.2 @ ClueCon 2021
Lorenzo Miniero
 
Allwinner Kernel Upstreaming Experiences
Chen-Yu Tsai
 
JerryScript on RIOT
Samsung Open Source Group
 
CNIT 140: Flashing Firmware
Sam Bowne
 
[ElastixWorld 2016] mediasoup: Powerful WebRTC SFU for Node.js
Iñaki Baz Castillo
 
Upstream Allwinner ARM SoC (sunxi) Support
Chen-Yu Tsai
 
WebRTC From Asterisk to Headline - MoNage
Chad Hart
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Samsung Open Source Group
 
WebRTC meetup barcelona 2017
Juan De Bravo
 
Ad

Similar to WebRTC, Whats in it for me? (20)

PDF
WebRTC Standards from Tim Panton
Alan Quayle
 
PDF
WHIP WHEP... What?
SeanDuBois3
 
PDF
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
Kranky Geek
 
PDF
Demuxed 2020
SeanDuBois3
 
PDF
Workshop oracle
Douglas Tait
 
PDF
[workshop] The Revolutionary WebRTC
Giacomo Vacca
 
PDF
ITSPA May 2013 - WebRTC, TURN, and WebSocket
Crocodile WebRTC SDK and Cloud Signalling Network
 
PPTX
Upperside Webinar - WebRTC Standards Update
UppersideConferences
 
PPTX
WebRCT
Mark Daniel Galvez
 
PDF
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
Crocodile WebRTC SDK and Cloud Signalling Network
 
PPTX
DevCon5 (July 2014) - Intro to WebRTC
Crocodile WebRTC SDK and Cloud Signalling Network
 
PDF
WebRTC standards update - November 2014
Victor Pascual Ávila
 
PDF
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Marcin Bielak
 
PDF
WebRTC Standards Update (October 2014)
Victor Pascual Ávila
 
PDF
DevCon 5 (December 2013) - WebRTC & WebSockets
Crocodile WebRTC SDK and Cloud Signalling Network
 
PDF
From leading IoT Protocols to Python Dashboarding_final
Lukas Ott
 
PDF
WebRTC standards update (April 2014)
Victor Pascual Ávila
 
PPTX
WebRTC presentation
Veselin Pizurica
 
PDF
WebRTC Workshop - What is (and isn't WebRTC)
Oracle
 
PDF
WebRTC. Yet Another Overview, for IT Technicians.
Vladimir Beloborodov
 
WebRTC Standards from Tim Panton
Alan Quayle
 
WHIP WHEP... What?
SeanDuBois3
 
Kranky Geek WebRTC 2015 - The future of ORTC with WebRTC
Kranky Geek
 
Demuxed 2020
SeanDuBois3
 
Workshop oracle
Douglas Tait
 
[workshop] The Revolutionary WebRTC
Giacomo Vacca
 
ITSPA May 2013 - WebRTC, TURN, and WebSocket
Crocodile WebRTC SDK and Cloud Signalling Network
 
Upperside Webinar - WebRTC Standards Update
UppersideConferences
 
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
Crocodile WebRTC SDK and Cloud Signalling Network
 
DevCon5 (July 2014) - Intro to WebRTC
Crocodile WebRTC SDK and Cloud Signalling Network
 
WebRTC standards update - November 2014
Victor Pascual Ávila
 
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Marcin Bielak
 
WebRTC Standards Update (October 2014)
Victor Pascual Ávila
 
DevCon 5 (December 2013) - WebRTC & WebSockets
Crocodile WebRTC SDK and Cloud Signalling Network
 
From leading IoT Protocols to Python Dashboarding_final
Lukas Ott
 
WebRTC standards update (April 2014)
Victor Pascual Ávila
 
WebRTC presentation
Veselin Pizurica
 
WebRTC Workshop - What is (and isn't WebRTC)
Oracle
 
WebRTC. Yet Another Overview, for IT Technicians.
Vladimir Beloborodov
 
Ad

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Software Development Methodologies in 2025
KodekX
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
The Future of Artificial Intelligence (AI)
Mukul
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 

WebRTC, Whats in it for me?