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

GoのWasmでのWebRTC P2Pの検証+α

ponyo877
September 13, 2024

GoのWasmでのWebRTC P2Pの検証+α

ponyo877

September 13, 2024
Tweet

More Decks by ponyo877

Other Decks in Technology

Transcript

  1. 8FC35$ͱ&CJUFOHJOF &CJUFOHJOF w (Pͷ%ήʔϜ࡞੒ϥΠϒϥϦ w 8BTNʹϏϧυՄೳ ϒϥ΢βήʔϜ  w ௨৴ରઓ͍ͨ͠

    8FC35$ w ڵຯ8FC4PDLFU͔Β8FC35$΁ w (PͷQJPOύοέʔδ w ೔ຊޠͷղઆهࣄ͕๛෋ ݚڀςʔϚ (Pͷ8FC"TTFNCMZͰ8FC35$%BUB$IBOOFM11Ͱͷ௨৴Λ͢Δ
  2. ݚڀςʔϚ ϒϥ΢βͰ(P͕ಈ͔ͤΔ ߴ౓ͳԋࢉॲཧͰޮՌൃش Ի੠ө૾ετϦʔϜͷૹ ड৴͕ՄೳͰσʔλڞ ༗ɾԕִձٞͰར༻ 8FC35$ͰจࣈྻɾόΠ φϦΛ௨৴͢Δ࢓૊Έ ୺຤ಉ͕࢜௚઀σʔλͷ ૹड৴Λ͢Δ

    (Pͷ8FC"TTFNCMZͰ8FC35$%BUB$IBOOFM11Ͱͷ௨৴Λ͢Δ ͬ͘͟ΓαʔόΛհ͞ͳ͍ ௨৴͕(PͰॻ͚ͯϒϥ΢βͰ࢖͑Δ /"5Λލ͍ͩ11௨৴ͷࡍʹ563/αʔόΛܦ༝͢Δ શମͷdͷ௨৴Ͱ563/ܦ༝͕ඞཁΒ͍͠
  3. 044ͱࣗ࡞ͷ૊Έ߹Θͤ w Ϣʔβ͸ࣗ࡞αʔόͰϚονϯά w 8FC35$௨৴ͷͨΊʹ͸௨৴͢Δ୺຤ؒͰ ઀ଓ৘ใͷަ׵ TJHOBMJOH ͢ΔͨΊͷαʔό ͸࣌Ӎಊ͞Μͷ044"ZBNF Λར༻

    (P੡  w 8BTN͔Β"ZBNFͱ΍ΓͱΓ͢ΔͨΊʹ HPBZBNF CZIBLPCFSB͞Μ Λվ଄ͤͯ͞௖͍ ͯར༻ w νϟοτϝοηʔδ͸%BUB$IBOOFMͰ௨৴ (PY8BTNY8FC35$ 8FC4PDLFU ϒϥ΢β $MPVE fl BSF1BHFT (PPHMF$MPVE$PNQVUF&OHJOF NBUDINBLJOH TFSWFS TJHOBMJOH TFSWFS IUNM
  4. ॲཧͷྲྀΕcϚονϯά ΫϥΠΞϯτ" ઌʹೖࣨ NBUDINBLJOHTFSWFS ΫϥΠΞϯτ# ޙ͔Βೖࣨ ೖࣨ ଴ͪߦྻʹొ࿥ RVFVF@MFOHUI Ϛονϯά

    RVFVF@MFOHUI SPPN*%डऔ TJHOBMJOH 8FC35$௨৴ͷͨΊͷ৘ใަ׵ TJHOBMJOH༻ SPPN*%ൃߦ ೖࣨ SPPN*%डऔ ௨৴৘ใͷૹड৴ TJOHOBMJOHTFSWFS ௨৴৘ใͷૹड৴ νϟοτ૬खͱϚονϯά νϟοτ૬खͱϚονϯά 11௨৴ཱ֬ NFN NFN " # "
  5. ॲཧͷྲྀΕcϝοηʔδૹड৴ ΫϥΠΞϯτ" ઌʹೖࣨ NBUDINBLJOHTFSWFS ΫϥΠΞϯτ# ޙ͔Βೖࣨ TJOHOBMJOHTFSWFS νϟοτ૬खͱϚονϯά νϟοτ૬खͱϚονϯά 11௨৴ཱ֬

    NBUDINBLJOH TJHOBMJOH ֤छTFSWFSͱͷ઀ଓஅ ֤छTFSWFSͱͷ઀ଓஅ ϝοηʔδૹ৴ ϝοηʔδड৴ ϝοηʔδड৴ ϝοηʔδૹ৴
  6. 8FC35$ͱ&CJUFOHJOF &CJUFOHJOF w (Pͷ%ήʔϜ࡞੒ϥΠϒϥϦ w 8BTNʹϏϧυՄೳ ϒϥ΢βήʔϜ  w ௨৴ରઓ͍ͨ͠

    8FC35$ w 8FC4PDLFU͔Β8FC35$΁ w (PͷQJPOύοέʔδ w ೔ຊޠͷղઆهࣄ͕๛෋ ݚڀςʔϚ (Pͷ8FC"TTFNCMZͰ8FC35$%BUB$IBOOFM11Ͱͷ௨৴Λ͢Δ
  7. ॲཧͷྲྀΕcϚονϯά ΫϥΠΞϯτ" ઌʹݕࡧ NBUDINBLJOHTFSWFS ΫϥΠΞϯτ# ޙ͔Βݕࡧ ରઓ૬खݕࡧ։࢝ ଴ͪߦྻʹొ࿥ RVFVF@MFOHUI Ϛονϯά

    RVFVF@MFOHUI SPPN*%डऔ TJHOBMJOH 8FC35$௨৴ͷͨΊͷ৘ใަ׵ SPPN*%ൃߦ ඳը ͳ͠ ඳը ͳ͠ ରઓ૬खݕࡧ։࢝ SPPN*%डऔ ௨৴৘ใͷૹड৴ TJOHOBMJOHTFSWFS ௨৴৘ใͷૹड৴ ରઓ૬खͱϚονϯά ରઓ૬खͱϚονϯά 11௨৴ཱ֬
  8. ॲཧͷྲྀΕc)JU#MPXͷରઓ อଘྖҬ ʹ͋Δ΋ ͷΛৗʹ ࠶ඳը ΫϥΠΞϯτ" SBUJOHTFSWFS HBNF fl PX

    &CJUFOHJOF ਪཧΛૹ৴ ਪཧΛड৴ ώϯτΛࣗಈԠ౴ ਪཧͱώϯτΛอଘ ਪཧΛૹ৴ উར৚݅Λຬͨ͢ ഊ๺৚݅Λຬͨ͢ ϨʔτΛߋ৽ ΫϥΠΞϯτ# &CJUFOHJOF HBNF fl PX 6QEBUF %SBX %SBX 6QEBUF ܁Γฦ͠ʜ ܁Γฦ͠ʜ ܁Γฦ͠ʜ ʜ DIBOOFM Λ௨ͯ͠ &WFOUΛ ड͚औΓ ඳըͷͨ Ίͷ 0CKFDU Λߋ৽ DIBOOFM DIBOOFM DIBOOFM Λ௨ͯ͠ &WFOUΛ ड͚औΓ ඳըͷͨ Ίͷ 0CKFDU Λߋ৽ DIBOOFM อଘྖҬ ʹ͋Δ΋ ͷΛৗʹ ࠶ඳը 11௨৴