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
100
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
68
Why Django sucks?
xuaps
0
54
Other Decks in Programming
See All in Programming
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
310
CSC509 Lecture 12
javiergs
PRO
0
160
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
C++でシェーダを書く
fadis
6
4.1k
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
受け取る人から提供する人になるということ
little_rubyist
0
230
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Speed Design
sergeychernyshev
24
610
Navigating Team Friction
lara
183
14k
Gamification - CAS2011
davidbonilla
80
5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Designing the Hi-DPI Web
ddemaree
280
34k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Typedesign – Prime Four
hannesfritz
40
2.4k
Scaling GitHub
holman
458
140k
Thoughts on Productivity
jonyablonski
67
4.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
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