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

iOSでのSkyWay開発の勘所とTips (リリース後・新SDK編)

iOSでのSkyWay開発の勘所とTips (リリース後・新SDK編)

SkyWay Developer Meetup #1

Ken Jumbo Haneda

September 30, 2017
Tweet

More Decks by Ken Jumbo Haneda

Other Decks in Programming

Transcript

  1. iOSͰͷSkyWay։ൃͷצॴͱTips ʢϦϦʔεޙɾ৽SDKฤʣ 4LZ8BZ%FWFMPQFS.FFUVQ

  2. None
  3. iOSͰͷSkyWay։ൃͷצॴͱTips ʢϦϦʔεޙɾ৽SDKฤʣ 4LZ8BZ%FWFMPQFS.FFUVQ

  4. δϟϯϘ@jumboOrNot Kentaro Haneda Mobile Engineer@RareJob
 Swift/kotlin/Golang/WebRTC

  5. None
  6. 8/11 ver1.4.0ΑΓϦϦʔε͠·ͨ͠
 ʮεϚϗͰϨοεϯʯ SkyWayΛ࢖ͬͨWebRTCͰͷϨοεϯఏڙΛ
 ݕূ͍ͯ͠·͢ 
 ʢiOSܦ༝ͷແྉମݧϨοεϯͷҰ෦ߨࢣͷΈʣ

  7. SkypeͰ͸࣮ݱͰ͖ͳ͔ͬͨΞϨ΍ίϨ΍͕٧·͍ͬͯ·͢ ઌੜͷإΛݟͯ࿩͠ͳ͕Β
 ΞϓϦΛಈ͔ͤΔ ڭࡐΛݟͳ͕ΒεϚϗͰϨοεϯ

  8. ࠓ೔ͷ͓࿩ • ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩

  9. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • Ϋϥογϡ͕ى͖ͯΔʁ • Ϣʔβʔ͸ԿΛ͍ͯͨ͠ʁ • ͦ΋ͦ΋؀ڥ͸ʁ

  10. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • Ϋϥογϡ͕ى͖ͯΔʁ • Ϣʔβʔ͸ԿΛ͍ͯͨ͠ʁ • ͦ΋ͦ΋؀ڥ͸ʁ Ϣʔβʔͷ࣮ࡍͷෆ۩߹࣌ͷঢ়گΛݟ͍ͨ

  11. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • Ϋϥογϡ͕ى͖ͯΔʁ
 → FirebaseΛ࢖͓͏ʂ ఆ൪ͷCrashlytics͸Firebaseʹ΋͏૊Έࠐ·Ε͍ͯ·͢ɻ ࢖͏ཧ༝͸ޙड़ɻ

  12. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • Ϣʔβʔ͸ԿΛ͍ͯͨ͠ʁ
 → FirebaseΛ࢖͓͏ʂ FirebaseͰ͋Ε͹མͱ͍ͯ͠ΔϩάΠϕϯτͱΫϥογϡͷϩά͕ λΠϜϥΠϯͰݟΕΔͷͰݕূָ͕ʂ

  13. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ • ͦ΋ͦ΋؀ڥ͸ʁ
 → FirebaseΛ࢖͓͏ʂ FirebaseͰ͋Ε͹Ϋϥογϡ࣌ͷϢʔβʔͷঢ়گ͕ৄ͘͠Θ͔Δɻ userId΋མͱ͓͚ͯ͠͹ Πϕϯϩͷϩά΋௥͏͜ͱ͕Ͱ͖ΔͷͰݕূָ͕ʂʢAndroidͷਤˢʣ

  14. ϦϦʔεޙʹͲ͏ݕূ͢Δ͔ Q. ଞͷπʔϧ͡Όμϝͳͷʁ A. ࠓͷॴFirebaseҰ୒ɺݒ೦ͩͬͨΠϕϯτͷϓϩύ ςΟ͕ݟΕΔΑ͏ʹͳͬͨΓɺվળ΋සൟɻఆ൪ͷ Crashlytics΋૊Έࠐ·ΕͨͷͰࠓ࢖͏ͳΒ͜ΕҰ୒Ͱ ͸ʁ

  15. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩ • ϦϦʔε͓ΊͰͱ͏͍͟͝·͢ 
 
 SDKҠߦखॱ΋ৄ͘͠ॻ͍ͯͩͬͯ͘͞ײँɾɾɾ
 
 ઈࢍɺҠߦ࡞ۀΛਐΊͯ·͢
 


    ʢҠߦखॱɿ https://webrtc.ecl.ntt.com/ migration.htmlʣ
  16. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩

  17. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩ چSKyWayͷAPIΩʔ͸৽SDKͰར༻Ͱ͖·ͤΜ ʢچSDKͱ৽SDKͷؒͰ૬ޓ઀ଓ͸Ͱ͖·ͤΜɻʣ ⚠͝஫ҙ͍ͩ͘͞

  18. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩ • ΞϓϦͱwebͰఏڙ͍ͯ͠Δ৔߹ ྆ํΞοϓσʔτ͠ͳ͍ͱ͍͚ͳ͍͚Ͳɺಉ࣌͸೉͍͠
 ʢڧ੍తͳΞϓϦͷΞοϓσʔτ͸ϨϏϡʔ͕ߥΕ΍͍͢ʣ εϚϗΞϓϦ PC

  19. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩ • ΞϓϦͱwebͰఏڙ͍ͯ͠Δ৔߹ɺ྆ํΞοϓσʔτ͠ͳ͍ ͱ͍͚ͳ͍ ࣮͸͜͏͍͏γʔϯ͸ଟ͍ ɾsystem messageΛDataConnectionͰૹͬͯ૬ खଆͰΠϕϯτΛى͍ͨ͜͠ ɾDataConnectionͷૹ৴ܗࣜΛมߋ͍ͨ͠

    etc…
  20. ৽iOS SDK΁ͷҠߦΛߟ͑Δ࿩ ʮFirebaseͷRemote ConfigΛ࢖ͬͯεΠον/APIKeyΛऔಘͰ͖ΔΑ͏ʹ͓ͯ͘͠ʯ ΋ͱ΋ͱABςετͷػೳͳͷͰλʔήοτΛ෼͚ͨΓɺมߋ΋ॊೈͰ͢ɻ • ΞϓϦͱwebͰఏڙ͍ͯ͠Δ৔߹ɺ྆ํΞοϓσʔτ͠ͳ͍ͱ ͍͚ͳ͍
 → FirebaseΛ࢖͓͏ʂ

  21. ݁࿦ ΞϓϦͰSkyWay࢖͏ͳΒFirebaseʢCrash reporting/ Remote configʣ΋࢖͓͏ʂ