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
iOS11は本当にWebRTCに対応したのか
Search
taminif
October 28, 2017
Programming
1
1.3k
iOS11は本当にWebRTCに対応したのか
WebRTC Meetup Osaka #2の発表資料です。
taminif
October 28, 2017
Tweet
Share
More Decks by taminif
See All by taminif
PuppeteerとPlaywrightの15日間の演劇 / relation of Puppeteer and Playwright
taminif
3
2k
Redashの開発はじめました / How to get started Redash development
taminif
0
710
私の生活を変えたHeadless Chrome / Headless Chrome who changed my life
taminif
3
420
WebSocketをiOSに持ち込んで辛い思いをした経験がありますか!? / have you painful experience in web socket?
taminif
3
5.3k
LINEで馬券を購入する / Purchase a betting ticket at LINE
taminif
1
1.5k
SkyWayで一年間運用してきたけどWebRTCってつらいんじゃないの
taminif
2
950
オンライン英会話とSkyWay
taminif
0
460
オンライン英会話アプリとSkyWay
taminif
0
410
Mac1台でアプリを作る時代再び
taminif
0
400
Other Decks in Programming
See All in Programming
Macとオーディオ再生 2024/11/02
yusukeito
0
370
CSC509 Lecture 11
javiergs
PRO
0
180
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
CSC509 Lecture 12
javiergs
PRO
0
160
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.2k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
flutterkaigi_2024.pdf
kyoheig3
0
150
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Amazon Qを使ってIaCを触ろう!
maruto
0
410
Featured
See All Featured
Fireside Chat
paigeccino
34
3k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Why Our Code Smells
bkeepers
PRO
334
57k
YesSQL, Process and Tooling at Scale
rocio
169
14k
It's Worth the Effort
3n
183
27k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
A Philosophy of Restraint
colly
203
16k
Typedesign – Prime Four
hannesfritz
40
2.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
The Pragmatic Product Professional
lauravandoore
31
6.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Transcript
iOS11ຊʹWebRTC ʹରԠͨ͠ͷ͔ WebRTC Meetup Osaka #2 2017/10/27 େౡ ޫو@sbntaminif
ࣗݾհ • ΣϒϦΦגࣜձࣾWEBΤϯδχΞ + ϓϩμΫτ Ϛωʔδϟʔ • ੈքͰ།ҰɺୈҰճWebRTC Meetup Osaka͔Β
ܧଓͯ͠ొஃͯ͠·͢ • ීஈژͰಇ͍͍ͯ·͢
http://ejje.weblio.jp/content/ios
ͦΕͰ࢝Ί·͢
TL;DR(H) • Safari11ͰϏσΦνϟοτՄೳ • Google ChromeͰϏσΦνϟοτෆՄೳ • TwitterͰURLΛλοϓͨ࣌͠ʹىಈ͢Δ ϒϥβͰϏσΦνϟοτෆՄೳ •
React NativeͷΞϓϦͰϏσΦνϟοτෆՄೳ
TL;DR(H) • Safari11ͰϏσΦνϟοτՄೳ • Google ChromeͰϏσΦνϟοτෆՄೳ • TwitterͰURLΛλοϓͨ࣌͠ʹىಈ͢Δ ϒϥβͰϏσΦνϟοτෆՄೳ •
React NativeͷΞϓϦͰϏσΦνϟοτෆՄೳ +BWB4DSJQU$PSFͰಈ͔ͳ͍͚ͩͰɺ 3FBDU/BUJWFͷ߹SFBDUOBUJWFXFCSUD Λ༻͢ΕϏσΦνϟοτՄೳͰͨ͠ ؒҧͬͨใࣦྱ͍ͨ͠·ͨ͠ɻ
WebRTCͱʢςϯϓϨʣ • W3C͕ఏএ͢ΔP2PϦΞϧλΠϜίϛϡχέʔ γϣϯΛ࣮ݱ͢Δٕज़ • ϓϥάΠϯͳ͠ͰϒϥβؒͷΓͱΓ͕Մೳ • ςΩετόΠφϦͳͲͷσʔλܗࣜө૾ ԻͳͲͷStreamܗࣜͷΓͱΓ͕Մೳ
iOSͰiOS11ͷSafariͰ WebRTCʹରԠ͠·ͨ͠ • getUserMedia • RTCPeerConnection • (RTCDataChannel) ͜ΕΒࡾͭʢ͚ͩͰͳ͍ʣͷ"1*͕ 4BGBSJʹ࣮͞Εͨͱ͍͏͜ͱͰ͢
iOS11ͰWebRTCʹରԠʂ
Ͱɺϒϥβͬͯ Safari͚ͩ͡Όͳ͍Ͱ͢ΑͶ
iOSʹ͋Δϒϥβ • Safari • Google Chrome • Opera • EdgeʢݱࡏϓϨϏϡʔ൛ʣ
• ͳͲͳͲɾɾ
͜ΕΒͰWebRTC ಈ͘ͷ͔ ͦΕΛௐΔͨΊʹɺ ϒϥβͲ͏࣮͞Ε͍ͯΔ ͔ΛΔඞཁ͕͋Γ·͢
ྫ͑Google Chrome https://blog.chromium.org/2016/01/a-faster-more-stable-chrome-on-ios.html 7FSͰ6*8FC7JFX͔Β8,8FC7JFX ʹมߋͨ͠ͱ͍͏هࣄ
SwiftͰ࣮Ͱ͖Δϒϥβ • WKWebView • SFSafariViewController • UIWebView (deprecated)
Safariͱಉ͡Α͏ʹAPI͕ ࣮͞Ε͍ͯΕରԠͯ͠ ͍Δͣ
RTCPeerConnectionͱ getUserMedia͕ଘࡏ͢Δ͔ • WKWebView • SFSafariViewController • UIWebView (deprecated)
શ෦μϝͰͨ͠ • WKWebView • SFSafariViewController • UIWebView (deprecated)
RTCPeerConnetion -> getUserMedia ->
௨৴Ͱ͖Δ͚Ͳ ө૾ͱԻ͕औಘͰ͖ͳ͍
RTCPeerConnection͕͋Ε σʔλ௨৴Ͱ͖Δͷ͔
֤ϒϥβͰDataChannel ͬͯΈΔςετ • αʔόʔʹSkyWayΛ༻ • ࣗલͰαʔόʔ༻ҙͰ͖ͳ͍ • ΞϓϦέʔγϣϯSkyWayͷαϯ ϓϧΛͦͷ··༻
શϒϥβͰಈ͖·ͨ͠ʂ • αʔόʔʹSkyWayΛ༻ • ࣗલͰαʔόʔ༻ҙͰ͖ͳ͍ • ΞϓϦέʔγϣϯSkyWayͷαϯ ϓϧΛͦͷ··༻
·ͱΊ
iOS11ͰWebRTCʹରԠʂ
iOS11ͰWebRTCʹରԠʂ ҧ͏ʂ
iOS11ͰWebRTCʹରԠʂ Safari11ͰWebRTCʹରԠ
͋Γ͕ͱ͏͍͟͝·ͨ͠