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.4k
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
2.1k
Redashの開発はじめました / How to get started Redash development
taminif
0
740
私の生活を変えたHeadless Chrome / Headless Chrome who changed my life
taminif
3
460
WebSocketをiOSに持ち込んで辛い思いをした経験がありますか!? / have you painful experience in web socket?
taminif
3
5.6k
LINEで馬券を購入する / Purchase a betting ticket at LINE
taminif
1
1.5k
SkyWayで一年間運用してきたけどWebRTCってつらいんじゃないの
taminif
2
980
オンライン英会話とSkyWay
taminif
0
490
オンライン英会話アプリとSkyWay
taminif
0
430
Mac1台でアプリを作る時代再び
taminif
0
410
Other Decks in Programming
See All in Programming
remix + cloudflare workers (DO) docker上でいい感じに開発する
yoshidatomoaki
0
120
DomainException と Result 型で作る型安全なエラーハンドリング
karszawa
0
880
Coding Experience Cpp vs Csharp - meetup app osaka@9
harukasao
0
710
リアルタイムレイトレーシング + ニューラルレンダリング簡単紹介 / Real-Time Ray Tracing & Neural Rendering: A Quick Introduction (2025)
shocker_0x15
1
280
Chrome Extension Techniques from Hell
moznion
1
160
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
110
Vibe Codingをせずに Clineを使っている
watany
17
5.8k
PsySHから紐解くREPLの仕組み
muno92
PRO
1
540
WordPress Playground for Developers
iambherulal
0
130
Unlock the Potential of Swift Code Generation
rockname
0
230
国漢文混用体からHolloまで
minhee
1
150
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
600
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
41
2.6k
Bash Introduction
62gerente
611
210k
A designer walks into a library…
pauljervisheath
205
24k
Into the Great Unknown - MozCon
thekraken
36
1.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
The Language of Interfaces
destraynor
157
24k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
Building Adaptive Systems
keathley
41
2.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
103
19k
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ʹରԠ
͋Γ͕ͱ͏͍͟͝·ͨ͠