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

meetscom_masa.pdf

6aa7c05372b33e594e3504b9935396f3?s=47 kentaro-masa
November 06, 2019

 meetscom_masa.pdf

6aa7c05372b33e594e3504b9935396f3?s=128

kentaro-masa

November 06, 2019
Tweet

Other Decks in Technology

Transcript

  1. ίϛϡχέʔγϣϯΞϓϦʹ SkyWayΛ࢖ͬͯΈͨ࿩ 2019/11/6
 Kentaro Masa @ Meetscom Inc. SkyWay UG

    Tokyo #5
  2. ࣗݾ঺հ •ਖ਼ɹ݈ଠ࿕ʢ·͞ɹ͚ΜͨΖ͏ʣ •Meetscomגࣜձࣾ •ࣗࣾαʔϏε KoeTomo + डୗ։ൃ •iOS / AWS

    / Ruby on Rails
  3. ຊ೔͓࿩͢Δ಺༰ •SkyWayͷར༻ʹؔͯ͠਺஋తͳ΋ͷͷ͝঺հ •ݱঢ়ͷ࣮૷ •ࠔ͍ͬͯΔ͜ͱ •͍·։ൃΛਐΊ͍ͯΔ͜ͱ

  4. KoeTomo αʔϏε঺հ •ιʔγϟϧωοτϫʔΩϯάΧςΰϦ@Store • https://apps.apple.com/jp/app/id940401053 • https://play.google.com/store/apps/details?id=meetscom.s •௨࿩ʴνϟοτʴ࿥Ի •ө૾͸ແ͠ •2016೥6݄ΑΓ


    ࠓͷαʔϏεܗଶ •ແྉ & ޿ࠂऩೖ
  5. KoeTomo αʔϏε঺հ •உࢠ : ঁࢠ = 6 : 4 •10୅ޙ൒ʙ20୅લ൒

    •ՆٳΈͱ͔ʹྲྀೖͱDAU͕ͪΐͬͱ૿͑·͢ •ʮͭΘ΅ʯ
 ʮ৸མͪ΅ʯ
 ʮབྷΈ΅ʯ
 ʮ͔·ͯʯ
  6. KoeTomo γεςϜߏ੒ •iOS + Android + Rails + AWS •iOS

    : Android = 3 : 1 •Skywayɿ௨࿩ •Twilioɿ࿥Ի͍ͨ͠௨࿩ •Firebaseɿ௨࿩લͷωΰγΤʔγϣϯ౳ •etc..
  7. ͳͥSkyWayʹ͔ͨ͠ •Ի੠ܥͷ஌ݟΛ࣋ͬͨΤϯδχΞ͕ډͳ͔ͬͨ ͔Β •iOSͱAndroid྆ํରԠ͍͔ͯͨ͠Β •౰࣌͸τϥΠΞϧظؒͰແྉ͔ͩͬͨΒ •ւ֎ʹαʔό͕ͳͯ͘΋OK

  8. KoeTomo γεςϜߏ੒

  9. ొ࿥ձһ਺         

    ೥ ೥ ೥ SkyWayʹ։ൃऀొ࿥ͯ͠
 ΞϓϦʹ࣮૷
 2016/3ʙ6 Enterprise EditionʹҠߦ
 DAU 15k
 2018/8 DAU 25k
 ௨࿩ճ਺ 1.5Mճ/݄
 ௨࿩෼਺ 21M෼/݄
 2019/10 SkyWayಋೖ࣌ظ
  10. SkyWayར༻ྔ Signaling (ճ) 2,127,708 TURN(GB) 836.931 SFU(GB) 0.000 2019/10 •

    ࡢ໷ͷPeerIDҰཡ͸1250ݸ
  11. ௨࿩OKʁ OKɻPeerID͸˓˓ʹ͢Δ༧ఆ 1. SKWPeerॳظԽ 2. SKWNavigatorॳظԽ
 SKWMediaConstraints.videoFlag = false 3.

    SKWMediaStreamऔಘ
 Ҿ͖ଓ͖Callbackʹै͍ॲཧଓߦ
 
 4. SKW_PEER_EVENT_OPENΛड͚ͨΒ
 ఆظతʹSKWPeerͷlistAllPeers()Λݺͼग़͢ 5. ૬खͷPeer͕ݱΕͨΒcallWithId()͢Δ ൃ৴ଆ ड৴ଆ ※Ұఆ࣌ؒܦͬͯ΋Peer͕ݱΕͳ͚Ε͹੾அॲཧ
 1. SKWPeerॳظԽ 2. SKWNavigatorॳظԽ
 SKWMediaConstraints.videoFlag = false 3. SKWMediaStreamऔಘ
 Ҿ͖ଓ͖Callbackʹै͍ॲཧଓߦ
 
 4. SKW_PEER_EVENT_CALLΛड͚ͨΒ
 SKWMediaConnectionͷanswer() 5. SKW_MEDIACONNECTION_EVENT_STREAMΛ
 ड͚ͨΒ௨࿩த༻ͷը໘ʹભҠ ※Ұఆ࣌ؒܦͬͯ΋SKW_MEDIACONNECTION_EVENT_STREAM͕ݺ͹ Εͳ͚Ε͹੾அॲཧ
  12. ࠔ͍ͬͯΔ͜ͱ •͍ͭ·Ͱ଴ͬͯ΋listAllPeers()ʹݱΕͳ͍ •Τϥʔͷঢ়گ͕Α͘෼͔Βͳ͍ •ʮͭͳ͕Βͳ͍ʯ •ʮ్தͰ੾ΕΔʯ •ʮ૬खͷ੠͸ฉ͑͜Δ͕ࣗ෼ͷ੠͕ಧ͔ͳ͍ʯ •όάͳͷ͔ɺ؀ڥґଘͳͷ͔ɺ୺຤ґଘͳͷ͔ •Ͳ͜ͷԿΛௐ΂Ε͹͍͍ʁ

  13. ࠔ͍ͬͯΔ͜ͱ •Ի੠ܥͷׯবʁ •௨࿩தʹ޿ࠂද͍ࣔͨ͠ •ಈը޿ࠂ͕ྲྀΕΔͱ௨࿩͕੾ΕΔ •޿ࠂSDKʹΑͬͯ͸ɺ੩ࢭը޿ࠂͰ΋੾ΕΔ

  14. ͍·։ൃΛਐΊ͍ͯΔ͜ͱ •SKWRoomΛ࢖ͬͯάϧʔϓ௨࿩ •Media Pipeline FactoryΛ࢖ͬͯ௨࿩Λ࿥Ի •TwilioΛ࢖͍ͬͯΔͱ͜ΖΛϦϓϨΠεͰ͖Δ͔ʁ

  15. ࠷ޙ·Ͱ͝ਗ਼ௌ௖͖ ͋Γ͕ͱ͏͍͟͝·ͨ͠