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
98
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
67
Why Django sucks?
xuaps
0
52
Other Decks in Programming
See All in Programming
画像でわかる北島直樹
naoki0917
0
140
/←このスケジュール表に立ち向かう フロントエンド開発戦略 / A front-end development strategy to tackle a single-slash schedule.
nrslib
1
480
perl for shell, awk and sed programmers
mackee
2
1k
デバッグの話 / Debugging for Beginners
kaityo256
PRO
8
740
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.1k
CSC305 Lecture 13
javiergs
PRO
0
110
CSC305 Lecture 09
javiergs
PRO
0
120
Golang と Erlang
taiyow
7
1.8k
Universal Linksの実装方法と陥りがちな罠
kaitokudou
1
200
飲食業界向けマルチプロダクトを実現させる開発体制とリアルな現状
hiroya0601
1
290
CSC509 Lecture 07
javiergs
PRO
0
140
Vue.js学習の振り返り
hiro_xre
1
100
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
18
1k
Optimising Largest Contentful Paint
csswizardry
31
2.9k
Embracing the Ebb and Flow
colly
84
4.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Scaling GitHub
holman
458
140k
4 Signs Your Business is Dying
shpigford
180
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
Making the Leap to Tech Lead
cromwellryan
131
8.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
59k
Rails Girls Zürich Keynote
gr2m
93
13k
Building Your Own Lightsaber
phodgson
102
6k
It's Worth the Effort
3n
183
27k
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