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
83
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
21
Testing beyond QualityAssurance
xuaps
0
65
Why Django sucks?
xuaps
0
51
Other Decks in Programming
See All in Programming
CSC307 Lecture 09
javiergs
PRO
1
500
DDDを志して3年経ったら「DDDの皮を被ったクリーンアーキテクチャ」になった話【デブサミ2024夏】
texmeijin
1
620
ピグパーティにおけるMongoDB CommunityバージョンからAtlasへの移行事例
10969hotaka
0
130
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
今こそ始める、CDKコンストラクトライブラリ開発 ― 入門から実践まで
tmokmss
1
930
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
社内 LT 会を発足し、アウトプット文化を醸成させるために考えたこと・やったこと / Starting internal LT meetings and fostering an output culture
mackey0225
3
120
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
Webエディタライブラリ 「CodeMirror」から学ぶ Webアプリ開発のテクニック
ryosukeigarashi
0
250
TiDB Serverless ~理想のServerless DBを考える~
soso_15315
1
160
生成AIをkintoneに連携してみた
hideg
0
230
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
Featured
See All Featured
Side Projects
sachag
451
42k
Imperfection Machines: The Place of Print at Facebook
scottboms
262
13k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
Web development in the modern age
philhawksworth
203
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
224
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
Writing Fast Ruby
sferik
623
60k
Visualization
eitanlees
139
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
2.9k
Making Projects Easy
brettharned
111
5.7k
Into the Great Unknown - MozCon
thekraken
20
1.3k
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