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
400
Mac1台でアプリを作る時代再び
taminif
0
400
Other Decks in Programming
See All in Programming
CSC509 Lecture 09
javiergs
PRO
0
140
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
340
Click-free releases & the making of a CLI app
oheyadam
2
100
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
120
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
570
Googleのテストサイズを活用したテスト環境の構築
toms74209200
0
300
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
240
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
480
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
440
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
430
カスタムしながら理解するGraphQL Connection
yanagii
1
1.5k
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.3k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
156
23k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Become a Pro
speakerdeck
PRO
25
5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Faster Mobile Websites
deanohume
305
30k
Building an army of robots
kneath
302
42k
What's new in Ruby 2.0
geeforr
343
31k
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ʹରԠ
͋Γ͕ͱ͏͍͟͝·ͨ͠