Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
WebRTC
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
David
September 25, 2022
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebRTC
David
September 25, 2022
Transcript
15 slides
WEBRTC REAL TIME COMMUNICATION EN EL NAVEGADOR.
David Vílchez @dvilchez BIENVENIDOS Agile galicia
WEBRTC QUÉ ES?
WEBRTC
WEBRTC GETUSERMEDIA (MEDIASTREAM) var constraints = {audio: true, video: true};
navigator.getUserMedia(constraints, function(stream) { video.src = window.URL.createObjectURL(stream); }, errorCallback);
WEBRTC PEERCONNECTION alice = new RTCPeerConnection(null, null) alice.add(stream) alice.createOffer().then(offer =>
{ return alice.setLocalDescription(offer) .then( () => { sendOffer(“bob”, offer); }); }).catch(errorHandler);
WEBRTC PEERCONNECTION bob = new RTCPeerConnection(null, null) bob.setRemoteDescriptor(offer) .then(() =>
{ bob.createAnswer().then((answer) => { return bob.setLocalDescription(answer) .then(() => { sendAnswer(“alice”, answer); }); }).catch(errorHandler);
WEBRTC SENDOFFER(….. ) SENDANSWER(….. )
WEBRTC SIGNALING
WEBRTC P2P CON SERVIDORES
WEBRTC P2P CON SERVIDORES
None
WEBRTC NO USAR ▸ Video and audio streaming ▸ Comunicación
asincrona
None
GRACIAS
More Decks by David
See All by David
Fast, Robust, Accurate Or how to love your tests again
xuaps
0
48
Testing beyond QualityAssurance
xuaps
0
86
Why Django sucks?
xuaps
0
89
Other Decks in Programming
See All in Programming
The Cost of the DOM
ypresto
3
1.1k
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
1k
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
140
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
10
5.5k
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
120
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
220
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
490
LLM 101
dalinaum
0
550
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
350
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
550
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
370
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Code Reviewing Like a Champion
maltzj
529
40k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
650
Making Projects Easy
brettharned
120
6.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
The Language of Interfaces
destraynor
163
27k
Why Our Code Smells
bkeepers
PRO
340
58k