Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WebRTC
Search
David
September 25, 2022
Programming
0
120
WebRTC
David
September 25, 2022
Tweet
Share
More Decks by David
See All by David
Fast, Robust, Accurate Or how to love your tests again
xuaps
0
28
Testing beyond QualityAssurance
xuaps
0
77
Why Django sucks?
xuaps
0
71
Other Decks in Programming
See All in Programming
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
830
CSC305 Lecture 05
javiergs
PRO
0
210
ALL CODE BASE ARE BELONG TO STUDY
uzulla
25
5.9k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
140
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.7k
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
870
Go言語はstack overflowの夢を見るか?
logica0419
0
340
Flutterで分数(Fraction)を表示する方法
koukimiura
0
130
CSC509 Lecture 03
javiergs
PRO
0
340
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
410
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
170
Catch Up: Go Style Guide Update
andpad
0
230
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
697
190k
Automating Front-end Workflow
addyosmani
1371
200k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
GitHub's CSS Performance
jonrohan
1032
470k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
8
910
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Facilitating Awesome Meetings
lara
56
6.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Transcript
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