Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS11は本当にWebRTCに対応したのか

73e80d16abc7cc65e08d430c2eae811b?s=47 taminif
October 28, 2017

 iOS11は本当にWebRTCに対応したのか

WebRTC Meetup Osaka #2の発表資料です。

73e80d16abc7cc65e08d430c2eae811b?s=128

taminif

October 28, 2017
Tweet

Transcript

  1. iOS11͸ຊ౰ʹWebRTC ʹରԠͨ͠ͷ͔ WebRTC Meetup Osaka #2 2017/10/27 େౡ ޫو@sbntaminif

  2. ࣗݾ঺հ • ΢ΣϒϦΦגࣜձࣾWEBΤϯδχΞ + ϓϩμΫτ Ϛωʔδϟʔ • ੈքͰ།ҰɺୈҰճWebRTC Meetup Osaka͔Β

    ܧଓͯ͠ొஃͯ͠·͢ • ීஈ͸ژ౎Ͱಇ͍͍ͯ·͢
  3. http://ejje.weblio.jp/content/ios

  4. ͦΕͰ͸࢝Ί·͢

  5. TL;DR(H) • Safari11ͰϏσΦνϟοτ͸Մೳ • Google ChromeͰϏσΦνϟοτ͸ෆՄೳ • TwitterͰURLΛλοϓͨ࣌͠ʹىಈ͢Δ
 ϒϥ΢βͰϏσΦνϟοτ͸ෆՄೳ •

    React Native੡ͷΞϓϦͰϏσΦνϟοτ͸ෆՄೳ
  6. TL;DR(H) • Safari11ͰϏσΦνϟοτ͸Մೳ • Google ChromeͰϏσΦνϟοτ͸ෆՄೳ • TwitterͰURLΛλοϓͨ࣌͠ʹىಈ͢Δ
 ϒϥ΢βͰϏσΦνϟοτ͸ෆՄೳ •

    React Native੡ͷΞϓϦͰϏσΦνϟοτ͸ෆՄೳ +BWB4DSJQU$PSFͰಈ͔ͳ͍͚ͩͰɺ 3FBDU/BUJWFͷ৔߹͸SFBDUOBUJWFXFCSUD Λ࢖༻͢Ε͹ϏσΦνϟοτ͸ՄೳͰͨ͠ ؒҧͬͨ৘ใࣦྱ͍ͨ͠·ͨ͠ɻ
  7. WebRTCͱ͸ʢςϯϓϨʣ • W3C͕ఏএ͢ΔP2PϦΞϧλΠϜίϛϡχέʔ γϣϯΛ࣮ݱ͢Δٕज़ • ϓϥάΠϯͳ͠Ͱϒϥ΢βؒͷ΍ΓͱΓ͕Մೳ • ςΩετ΍όΠφϦͳͲͷσʔλܗࣜ΍ө૾΍ Ի੠ͳͲͷStreamܗࣜͷ΍ΓͱΓ͕Մೳ

  8. iOSͰ͸iOS11ͷSafariͰ WebRTCʹରԠ͠·ͨ͠ • getUserMedia • RTCPeerConnection • (RTCDataChannel) ͜ΕΒࡾͭʢ͚ͩͰ͸ͳ͍ʣͷ"1*͕ 4BGBSJʹ࣮૷͞Εͨͱ͍͏͜ͱͰ͢

  9. iOS11ͰWebRTCʹରԠʂ

  10. Ͱ΋ɺϒϥ΢βͬͯ Safari͚ͩ͡Όͳ͍Ͱ͢ΑͶ

  11. iOSʹ͋Δϒϥ΢β • Safari • Google Chrome • Opera • EdgeʢݱࡏϓϨϏϡʔ൛ʣ

    • ͳͲͳͲɾɾ
  12. ͜ΕΒͰWebRTC͸ ಈ͘ͷ͔ ͦΕΛௐ΂ΔͨΊʹ͸ɺ ϒϥ΢β͸Ͳ͏࣮૷͞Ε͍ͯΔ ͔Λ஌Δඞཁ͕͋Γ·͢

  13. ྫ͑͹Google Chrome https://blog.chromium.org/2016/01/a-faster-more-stable-chrome-on-ios.html 7FSͰ6*8FC7JFX͔Β8,8FC7JFX ʹมߋͨ͠ͱ͍͏هࣄ

  14. SwiftͰ࣮૷Ͱ͖Δϒϥ΢β • WKWebView • SFSafariViewController • UIWebView
 (deprecated)

  15. Safariͱಉ͡Α͏ʹAPI͕ ࣮૷͞Ε͍ͯΕ͹ରԠͯ͠ ͍Δ͸ͣ

  16. RTCPeerConnectionͱ getUserMedia͕ଘࡏ͢Δ͔ • WKWebView • SFSafariViewController • UIWebView
 (deprecated)

  17. શ෦μϝͰͨ͠ • WKWebView • SFSafariViewController • UIWebView
 (deprecated)

  18. RTCPeerConnetion -> getUserMedia ->

  19. ௨৴͸Ͱ͖Δ͚Ͳ ө૾ͱԻ੠͕औಘͰ͖ͳ͍

  20. RTCPeerConnection͕͋Ε ͹σʔλ௨৴͸Ͱ͖Δͷ͔

  21. ֤ϒϥ΢βͰDataChannel ΍ͬͯΈΔςετ • αʔόʔʹ͸SkyWayΛ࢖༻ • ࣗલͰαʔόʔ༻ҙͰ͖ͳ͍ • ΞϓϦέʔγϣϯ΋SkyWayͷαϯ ϓϧΛͦͷ··࢖༻

  22. શϒϥ΢βͰಈ͖·ͨ͠ʂ • αʔόʔʹ͸SkyWayΛ࢖༻ • ࣗલͰαʔόʔ༻ҙͰ͖ͳ͍ • ΞϓϦέʔγϣϯ΋SkyWayͷαϯ ϓϧΛͦͷ··࢖༻

  23. ·ͱΊ

  24. iOS11ͰWebRTCʹରԠʂ

  25. iOS11ͰWebRTCʹରԠʂ ҧ͏ʂ

  26. iOS11ͰWebRTCʹରԠʂ Safari11ͰWebRTCʹରԠ

  27. ͋Γ͕ͱ͏͍͟͝·ͨ͠