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

20200115_skyway_ug_6

 20200115_skyway_ug_6

B4e8461292c2cccef061741f8ba1ac3f?s=128

Ken Jumbo Haneda

January 16, 2020
Tweet

More Decks by Ken Jumbo Haneda

Other Decks in Programming

Transcript

  1. ΞϓϦͰSkyWayΛ࢖͍ଓ͚Δצॴͱඞཁͳӡ༻ 4LZ8BZ6(

  2. None
  3. δϟϯϘ@jumboOrNot Kentaro Haneda ٕज़ຊ෦ ෭෦௕ ݉ σβΠϯνʔϜϦʔμʔ@RareJob

  4. None
  5. SPA/Typescript/Vue.js/spectre/webpack swift/kotlin/firebase/MVVM/RxXXX re:dash/kibana… ৭ʑͳٕज़ελοΫΛ૊Έ߹Θͤͯ ࣮૷ɾӡ༻͍ͯ͠·͢ UXɾٕज़తʹ΋͍ΖΜͳ௅ઓΛ૊ΈࠐΜͰ·͢ɻ

  6. None
  7. SkyWayΛ࢖͍ͬͯΔΞϓϦΛӡ༻ͯ͠ ૣ 2೥

  8. 1Ϩοεϯ 25෼ * ຖ೔xxϨοεϯ * 30೔Ͱ ݄ʹ ਺ສ࣌ؒ΄ͲωΠςΟϒΞϓϦܦ༝Ͱͷ WebRTCͰͷମݧΛఏڙ͍ͯ͠Δ

  9. ࠓ೔ͷ͓࿩ • WebRTCͰͷωΠςΟϒΞϓϦͰͷ։ൃɾӡ༻Ͱͷ • ߟ͑ͳ͍ͱ͍͚ͳ͍͜ͱ • ΍͓ͬͯ͘΂͖͜ͱɾtips

  10. ߟ͑ͳ͍ͱ͍͚ͳ͍͜ͱ

  11. ߟ͑ͳ͍ͱ͍͚ͳ͍͜ͱ 1. Webͱ͸ҧ͏ମݧ 1. όοΫάϥ΢ϯυ 2. ωοτϫʔΫ 3. ి஑ͱ௨৴ྔ 4.

    Ϋϥογϡ
  12. iOS: ద੾ͳઃఆ͕ඞཁ ͜Ε͕ͳ͍ͱΞϓϦΛ։͍ͯͳ͍ঢ়ଶͰ௨࿩Ͱ͖ͳ͍ Χϝϥ͸౰વར༻Ͱ͖ͳ͘ͳΔ όοΫάϥ΢ϯυͰͷମݧ

  13. Android: ద੾ͳઃఆ͕ඞཁ͔ͭෳࡶ OSͱ୺຤ʹґଘ͢ΔɺΧϝϥ͕࢖͑ͳ͘ͳΔͷ͸ಉ༷͕ͩ αʔϏεϋϯυϦϯά͕ෳࡶ ·ͨňઃఆʼnʼňωοτϫʔΫͱΠϯλʔωοτʼnʼ ňσʔλ࢖༻ྔʼnʼ ňϞόΠϧσʔλ࢖༻ʼn͔ΒόοΫάϥ΢ϯυ௨৴ΛΦϑʹͰ͖ͯ͠·͏ όοΫάϥ΢ϯυͰͷମݧ Android 8.0ʢAPI

    Ϩϕϧ 26ʣͰ͸ɺϢʔβʔ ΤΫεϖϦΤϯεΛ޲্ͤ͞ΔͨΊʹɺ ΞϓϦ͕όοΫάϥ΢ϯυͰ࣮ߦ͞Ε͍ͯΔͱ͖ͷಈ࡞Λ੍ݶ͍ͯ͠·͢ https://developer.android.com/about/versions/oreo/background?hl=ja
  14. tips ֤σόΠεࣗମͷ੍ݶ + ֤σόΠε͕ར༻͢ΔωοτϫʔΫͷ੍ݶ ͷ૒ํΛཧղ͢Δඞཁ͕͋Δɻ ωοτϫʔΫ ֤σόΠεࣗମͷ੍ݶ → iϑΟϧλʔ౳ͷηΩϡϦςΟιϑτʹΑΔ੍໿΍OSͷઃఆʹΑΔ ɹ

    ௨৴΁ͷ੍ݶ͕ଘࡏ͢Δ ֤σόΠε͕ར༻͢ΔωοτϫʔΫͷ੍ݶ → Web΍PCͱಉ༷͕ͩɺΑΓෆ҆ఆͳωοτϫʔΫ΍ ɹ Ұ෦͸3Gճઢ౳Ͱ࣮ࢪ͞Ε͍ͯΔ͜ͱΛཧղ͢΂͖ ɹ iOS/AndroidڞʹEmulator͕଎౓੍ݶ͢ΔσόοάϞʔυΛ͍࣋ͬͯΔͷͰ ɹ ඞͣݟ͓͖ͯ·͠ΐ͏ɺ೉͚͠Ε͹CharlesͰ
  15. ֤σόΠεࣗମͷ੍ݶ + ֤σόΠε͕ར༻͢ΔωοτϫʔΫͷ੍ݶ ͷ૒ํΛཧղ͢Δඞཁ͕͋Δɻ ωοτϫʔΫ ·ͨ3G/Wifi౳ͷਪ঑؀ڥ΁ͷϋϯυϦϯάΛඞͣೖΕ͓ͯ͘͜ͱͰ ໰͍߹ΘͤɾΦϖϨʔγϣϯίετ͸࡟ݮͰ͖Δɻ ਪ঑؀ڥΛఆٛͤͣʹਐΊΔͷ͸❎ ྫʣWifi؀ڥར༻Λਪ঑͢ΔμΠΞϩάΛग़͢ͳͲ

  16. ʮ͔͔Δ௨৴ྔͱి஑ͷফඅ͸Ͳͷ͘Β͍Ͱ͔͢ʁʯͬͯ ઈରฉ͔ΕΔɾɾɾ ి஑ͱ௨৴ྔ ຊ౰ʹέʔεόΠέʔεͳͷͰ໌֬ͳճ౴͸Ͱ͖ͳ͍ͷ͕݁࿦ɻ ͨͩͲͪΒͷOS΋ProfilerΛެࣜͷΤσΟλ͕ఏڙ͍ͯ͠ΔͷͰ ݟ͓ͯ͘ͱྑ͍ɻ ϓϩάϥϜ͔Β͸औಘͰ͖ͳ͍ͨΊɺ࣮σόΠεͰ֬ೝͯ͠ OSͷઃఆΞϓϦ͔Βݟͯਪఆ஋Λઃఆ͢Δ͔͠ͳ͍ͷ͕ݱঢ়ɻ

  17. ͠·͢ɻ iOS/Androidͱ΋ʹSDK಺ͰͷΫϥογϡ͕਺݅ఔ౓ ग़Δ͜ͱ͕͋Γ·͢ɻ Ϋϥογϡ EGL context΍PeerͷΫϥεͰΫϥογϡ͢Δ͜ͱ͸Γ·͕͢ ίΞͳWebRTCͷϥΠϒϥϦ಺ͰͷΫϥογϡ͕ଟ͍ͨΊ
 ϝΠϯʹͳΔϢʔεέʔεͰࠔΔ͜ͱ͸ͳ͍Ͱ͢ɻ ӡ༻্͸Firebase Crashlytics্ͰϝϞΛ࢒ͯ͠ඇରԠνέοτͱͯ͠

    ѻ͏ͷ͕٢ɻ
  18. ΍͓ͬͯ͘΂͖͜ͱɾtips

  19. ΍͓ͬͯ͘΂͖͜ͱɾtips 1. ೖग़σόΠεͷϋϯυϦϯά 2. ϦϞʔτϩΪϯά

  20. iOSͰ͸Կ΋έΞ͠ͳ͚Ε͹௨࿩༻ͷεϐʔΧʔʹͳͬͯ͠·͏ ಺ଁεϐʔΧʔ΁ઃఆ͕ඞཁ ·ͨσόΠεͷൈ͖ࠩ͠౳ʹؔͯ͠͸iOS/AndroidڞʹରԠ͕ඞཁ ೖग़σόΠεͷϋϯυϦϯά Ի੠ͷϋϯυϦϯά͸݁ߏςετέʔε͕૿͑·͢ɻ όοΫάϥ΢ϯυͰͷԻ੠࠶ੜɾσόΠεൈ͖ࠩ͠ɾ֤छσόΠε౳ʑ…

  21. ϢʔβʔͷߦಈɾSkyWayͷΠϕϯτΛՄࢹԽͯ͠ ໰͍߹Θͤʹඋ͑·͠ΐ͏ ϦϞʔτϩΪϯά ύϑΥʔϚϯεͷՄࢹԽ͕ඞཁͳ෼໺Ͱ͢ɻ શ෦͕શ෦૝ఆ௨Γʹઈରʹಈ͔ͳ͍ͷͰɺ઀ଓ཰΍ෆ۩߹཰ͳͲͷ KPIཱͯΛͯ͠ϞχλϦϯά͍͖ͯ͠·͠ΐ͏ɻ

  22. ·ͱΊ

  23. ·ͱΊ • ωΠςΟϒͰ͔͠ى͖ͳ͍UXʹඋ͑ͯػೳΛ࡞Δ • ໰͍߹Θ͕ͤདྷ΍͍͢ྖҬͰ͋Δ͜ͱΛrikaisuru • ໰୊͸ඞͣى͖ΔͷͰɺࣄલʹͦΕΛϞχλϦϯάɾௐࠪ
 Ͱ͖Δ؀ڥΛ࡞Δ ޻෉͠ͳ͍ͱӡ༻͸ݫ͍͠

  24. +α • ͦͷͱ͖ʹ
 ୺຤ɾOSɾࣄ৅ͱτϨʔεϩάɾϢʔεέʔεɾ࠶ݱੑɾSDKverΛ
 ͪΌΜͱγΣΞ͠·͠ΐ͏ • ΞϓϦؔ࿈͸ࣄ͕݅ϑϩϯτଆͰى͖͍ͯΔ͜ͱ͕ଟʑͳͷͰ
 ৘ใڞ༗͸ΤϯδχΞࢹ఺Ͱௐ΂΍͍͢Α͏ʹγΣΞ͠·͠ΐ͏ • ίϛϡχςΟʹॻ͘ͱ͖͸ଞͷਓ͕ͨͲΓண͖΍͍͢Αʹॻ͘ͱ$

    దٓϢʔβʔάϧʔϓʹཔΓ·͠ΐ͏ʂ
  25. ग़·͢ʂ͓଴͓ͪͯ͠Γ·͢ https://findy.connpass.com/event/160722/