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

WebRTC における通信不具合の検証

WebRTC における通信不具合の検証

WebRTC Meetup での登壇資料です。
https://atnd.org/events/88130

Kiminari Homma

June 13, 2017
Tweet

More Decks by Kiminari Homma

Other Decks in Technology

Transcript

  1. 8FC35$ʹ͓͚Δ௨৴ෆ۩߹ͷݕূ
    2017/06/13
    WebRTC Meetup Tokyo #15
    !LJNJIPN

    View full-size slide

  2. ࣗݾ঺հ
    ຊؒ ߖ੒ @kimihom
    CTO at selfree,llc
    CallConnect (ϒϥ΢βి࿩γεςϜ)
    Heroku, Twilio UG ίΞϝϯόʔ

    View full-size slide

  3. 8FC35$ΛαʔϏεͱͯ͠
    ఏڙ͍ͯ͠Δํʁ

    View full-size slide

  4. 8FC35$ΛαʔϏεͱͯ͠
    ༗ঈఏڙ͍ͯ͠Δํʁ

    View full-size slide

  5. ௨࿩ෆ۩߹ͷେ൒͸Ϣʔβʔଆͷར༻؀ڥ͕ݪҼɻ
    ͔͠͠ɺ8FC35$αʔϏεఏڙऀ͕
    ݪҼΛಛఆ͠αϙʔτ͢Δඞཁ͕͋Δɻ

    View full-size slide

  6. ࣄ৅ͷ֬ೝ
    l௨࿩͕Ͱ͖ͳ͍zͰ΋ҎԼͷΑ͏ͳύλʔϯ͕͋Δɻ
    ൃண৴͕Ұ੾Ͱ͖ͳ͍ɻ͍͖ͳΓ੾அ͞ΕΔɻ
    ൃண৴͸Ͱ͖Δ͕ɺࣗ෼૬खͷ੠͕Ұ੾ฉ͑͜ͳ͍
    ௨࿩͸Ͱ͖Δ͕ɺԻ࣭͕ཚΕΔ

    View full-size slide

  7. ࣄ৅ͷ֬ೝ
    l௨࿩͕Ͱ͖ͳ͍zͰ΋ҎԼͷΑ͏ͳύλʔϯ͕͋Δɻ
    ൃண৴͕Ұ੾Ͱ͖ͳ͍ɻ͍͖ͳΓ੾அ͞ΕΔɻ
    ൃண৴͸Ͱ͖Δ͕ɺࣗ෼૬खͷ੠͕Ұ੾ฉ͑͜ͳ͍
    ௨࿩͸Ͱ͖Δ͕ɺԻ࣭͕ཚΕΔ

    View full-size slide

  8. ൃண৴͕Ұ੾Ͱ͖ͳ͍
    ୯७ʹαʔϏε಺Ͱͷઃఆϛε
    ਖ਼͘͠ͳ͍ઃఆͰண৴Λड͚ͨࡍʹɺࣾ಺αϙʔτ4MBDL΁
    ର৅Ϣʔβʔͷ*%Λ௨஌ɻͪ͜Β͔Βઃఆํ๏ΛҊ಺ɻ
    ωοτϫʔΫ͕ด͡ΒΕ͍ͯΔ
    ଟ͘ͷେاۀͰ͸8FC35$Ͱඞཁͳϙʔτ͕ด͡ΒΕ͍ͯΔ
    ར༻؀ڥνΣοΫͷఏڙ

    View full-size slide

  9. ࣄ৅ͷ֬ೝ
    l௨࿩͕Ͱ͖ͳ͍zͰ΋ҎԼͷΑ͏ͳύλʔϯ͕͋Δɻ
    ൃண৴͕Ұ੾Ͱ͖ͳ͍ɻ͍͖ͳΓ੾அ͞ΕΔɻ
    ൃண৴͸Ͱ͖Δ͕ɺࣗ෼૬खͷ੠͕Ұ੾ฉ͑͜ͳ͍
    ௨࿩͸Ͱ͖Δ͕ɺԻ࣭͕ཚΕΔ

    View full-size slide

  10. ࣗ෼૬खͷ੠͕ฉ͑͜ͳ͍ ར༻؀ڥνΣοΫ0,

    Ұ෦ͷϙʔτ͕ด͡ΒΕ͍ͯΔ
    ϧʔλʔɺϑΝΠΞ΢Υʔϧɺ΢Οϧεରࡦιϑτ౳ͷઃఆ֬ೝ
    ผͷωοτϫʔΫʹҰ౓ࢼ͠ʹ઀ଓͯ͠௖͍ͯ֬ೝ
    ϔουηοτͷෆௐɺϒϥ΢βͷϚΠΫڐՄ͍ͯ͠ͳ͍
    ϔουηοτςετͷఏڙ


    View full-size slide

  11. $BMM$POOFDUͰͷ޻෉
    ೔ؒແྉτϥΠΞϧ
    ͜ͷظؒͰ௨࿩Ͱ͖Δ͔֬ೝ͍ͯͨͩ͘͠
    ਪ঑ϔουηοτͷఏڙ
    τϥΠΞϧظؒͰແྉͰϔουηοτΛఏڙɻ
    ɹΩϟϯϖʔϯ౳ͰϓϨθϯτ͢Δ͜ͱ΋ɻ

    View full-size slide

  12. ࣄ৅ͷ֬ೝ
    l௨࿩͕Ͱ͖ͳ͍zͰ΋ҎԼͷΑ͏ͳύλʔϯ͕͋Δɻ
    ൃண৴͕Ұ੾Ͱ͖ͳ͍ɻ͍͖ͳΓ੾அ͞ΕΔɻ
    ൃண৴͸Ͱ͖Δ͕ɺࣗ෼૬खͷ੠͕Ұ੾ฉ͑͜ͳ͍
    ௨࿩͸Ͱ͖Δ͕ɺԻ࣭͕ཚΕΔ

    View full-size slide

  13. ௨࿩඼࣭ͷཚΕͦ͜8FC35$࠷େͷఢ

    View full-size slide

  14. ϔουηοτ
    ωοτϫʔΫ
    σόΠε
    1$ εϚϗ
    શͯͷ৚݅Λຬͨ͞ͳ͍ͱɺ
    շదͳ௨࿩͸࣮ݱͰ͖ͳ͍ɻ
    ؒͷ઀ଓ΋ॏཁͳͨΊɺ
    ϔουηοτͷൈ͖ࠩ͠ɺϧʔλʔ΍1$࠶ىಈ
    ͳͲ͕࠷ॳͷεςοϓɻ

    View full-size slide

  15. ωοτϫʔΫར༻ͷෛՙΛԼ͛·͠ΐ͏
    ίϫʔΩϯάεϖʔε΍େྔͷ੮͕͋Δ৬৔ͳͲɺ
    ಉ࣌ʹͨ͘͞Μͷ1$Λ઀ଓ͢ΔωοτϫʔΫ؀ڥ
    ௨࿩தʹॏ͍ಈը౳Λμ΢ϯϩʔυɺॏ͍௨৴ͳͲ
    ͦ΋ͦ΋ωοτϫʔΫ͕஗͍
    ʔʼ4QQFEUFTU౳ͰͷωοτϫʔΫ଎౓ςετ

    View full-size slide

  16. ͦͷଞͷରࡦ
    • ϧʔλʔͷ QoS Λ༗ޮʹ͢Δ͔௨৴τϥϑΟοΫʹ༏ઌ౓Λ͚ͭΔ
    • ϔουηοτͷσόΠευϥΠόʔΛߋ৽͢Δ (Windows)
    • ଞͷ࿩ऀ΍ϑΝϯͳͲͷपғͷϊΠζΛݮΒ͢
    • ϚΠΫͱޱͷڑ཭Λద੾ͳ΋ͷʹௐ੔
    • PCͷα΢ϯυઃఆͰϚΠΫͷԻྔΛௐ੔
    • ίϯϐϡʔλ͕௨৴Λॲཧ͢Δͷʹे෼ͳॲཧೳྗ͕͋Δ͔
    • ίϯϐϡʔλͷ CPU ΍ RAM Λ࢖͍͍͗ͯ͢ͳ͍͔֬ೝ
    • ΢Οϧεରࡦͷιϑτ΢ΣΞΛແޮԽ͓ͯ͠ࢼ͠

    View full-size slide

  17. ͦΕͰ΋ղܾͰ͖ͳ͍৔߹

    View full-size slide

  18. 5XJMJP7PJDF*OTJHIUT
    δολʔɺύέοτଛࣦɺϨΠςϯγɺ.04஋
    ౳ΛϢʔβʔ͝ͱʹࢦඪԽ

    View full-size slide

  19. %VBM$IBOOFM3FDPSEJOHT
    ૒ํ޲ͷ௨࿩Λ࿥Ի͢Δ࢓૊Έ
    ෆ۩߹ͷݪҼ͕ൃ৴ݩͳͷ͔ɺൃ৴ઌͳͷ͔ΛಛఆͰ͖Δ
    8FC35$௨৴தͷϦΞϧλΠϜΞϥʔτ
    ௨࿩தʹ
    ҰఆظؒϚΠΫೖྗ͕֬ೝͰ͖ͳ͔ͬͨΒΞϥʔτɻ
    ωοτϫʔΫ઀ଓ͕ෆ҆ఆʹͳͬͨΒΞϥʔτɻ
    ͦͷଞ5XJMJP͕ఏڙ͢ΔԻ࣭ରࡦ

    View full-size slide

  20. ௨৴ෆ۩߹ͱ͍ͬͯ΋ݪҼ͸ઍࠩສผɻ
    8FC35$ΛαʔϏεͱͯ͠ఏڙ͢Δ৔߹͸ɺ
    l௨৴ෆ۩߹ΛಛఆͰ͖ΔΑ͏ͳ࢓૊Έz
    ͕ඞཁෆՄܽ
    ͦΕͰ΋8FC35$͸ૉ੖Β͍͠ʂ

    View full-size slide

  21. ి࿩αϙʔτΛ؆୯ʹɻ

    View full-size slide