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
71
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
18
Testing beyond QualityAssurance
xuaps
0
64
Why Django sucks?
xuaps
0
48
Other Decks in Programming
See All in Programming
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
130
雑に思考を整理する技術と効能
konifar
57
26k
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
39
18k
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
3.7k
Tailwind CSSを本気でカスタマイズする方法
fsubal
9
3.5k
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
2
350
Folding Cheat Sheet #3
philipschwarz
PRO
0
120
サイコロで理解する統計的仮説検定の考え方
tatamiya
2
230
Featured
See All Featured
In The Pink: A Labor of Love
frogandcode
138
21k
Web development in the modern age
philhawksworth
202
10k
Principles of Awesome APIs and How to Build Them.
keavy
120
16k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Embracing the Ebb and Flow
colly
79
4.1k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Writing Fast Ruby
sferik
620
60k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
What's new in Ruby 2.0
geeforr
337
31k
Designing the Hi-DPI Web
ddemaree
276
33k
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