Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOSでWebRTCを使ってみた
Search
d_date
January 31, 2017
Programming
0
1.4k
iOSでWebRTCを使ってみた
2017/01/31(火) AKIBA.swift 第10回
d_date
January 31, 2017
Tweet
Share
More Decks by d_date
See All by d_date
TCA Practice in 5 min
d_date
2
1.3k
waiwai-swiftpm-part2
d_date
3
470
わいわいSwift PM part 1
d_date
2
380
What's new in Firebase 2021
d_date
2
1.4k
CI/CDをミニマルに構築する
d_date
1
540
Swift Package centered project - Build and Practice
d_date
20
13k
How to write Great Proposal
d_date
4
1.2k
Thinking about Architecture for SwiftUI
d_date
8
2.3k
Integrate your app to modern world in Niigata
d_date
0
630
Other Decks in Programming
See All in Programming
Оптимизируем производительность блока Казначейство
lamodatech
0
890
MCP with Cloudflare Workers
yusukebe
2
270
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
170
HTML/CSS超絶浅い説明
yuki0329
0
170
rails newと同時に型を書く
aki19035vc
5
620
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
260
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
230
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
780
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
5.8k
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
270
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
390
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
130
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
550
The Cult of Friendly URLs
andyhume
78
6.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
GraphQLとの向き合い方2022年版
quramy
44
13k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Being A Developer After 40
akosma
89
590k
How to train your dragon (web standard)
notwaldorf
88
5.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
For a Future-Friendly Web
brad_frost
176
9.5k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Become a Pro
speakerdeck
PRO
26
5.1k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Transcript
iOSͰWebRTCΛ ͬͯΈͨ AKIBA.swift Daiki Matsudate(@d_date)
͍͖ͳΓDEMO
վΊͯࣗݾհ
Daiki Matsudate (@d_date) • ໊લͷಡΈํઈࢍ໎த (ex. ·ͭͩͯ͞ Μɺͩͯ͞ΜɺDate͞Μ) • ࠷ۙϛυϧωʔϜʹಌΕΔʢઈࢍืूதʣ
None
ࠓͷ༰ • ͋ͷσϞҰମͳΜͩͬͨͷ͔
͋ͷσϞҰମ ͳΜͩͬͨΜͩΖ͏
WebRTCͬͯͬͯ·͔͢ʁ
WebRTCͬͯͬͯ·͔͢ʁ • όϦόϦ͍ͬͯΔ • σϞ৮ͬͨ͜ͱ͕͋Δ • ໊લฉ͍ͨ͜ͱ͕͋Δ • ConnpassͰݟͨΑʂ •
ࠓॳΊͯฉ͍ͨ ߴ ͍ͬͯΔ ʹΘ͔
͜ΕͰ͋ͳͨʹΘ͔ଔۀʂ • όϦόϦ͍ͬͯΔ • σϞ৮ͬͨ͜ͱ͕͋Δ • ໊લฉ͍ͨ͜ͱ͕͋Δ • ConnpassͰݟͨΑʂ •
ࠓॳΊͯฉ͍ͨ
͍͍Ͷ͍ͩ͘͞
WebRTC ϒϥβϞόΠϧΞϓϦ্ͰԻ௨ɺϏσΦ ௨ͳͲͷReal-Time Communication(RTC)Λ ࣮ݱ͢ΔͨΊͷٕज़ Google, Mozilla, Opera͕ڞಉ։ൃ
ରԠϒϥβͱϓϥοτϑΥʔϜ • Chrome • Firefox • Opera • Android •
iOS
ରԠϒϥβͱϓϥοτϑΥʔϜ • Chrome • Firefox • Opera • Android •
iOS → ༏ઌॱҐΊײ
Official Sample https://github.com/webrtc/samples/
Official Sample https://github.com/webrtc/samples/ શ෦ϒϥβ൛ʂʂ
iOS࣮ͯ͘͠ΕͨGOD͕͍Δ
None
αʔόʔͲ͏͢Μͷʁʁ
None
ಀ͛Δஏ͕ͩʹཱͭ
ͪΐͬͱ͚ͩαʔόʔͷ͓
http://io13webrtc.appspot.com/
http://io13webrtc.appspot.com/
STUN (Session Traversal of UDP through NATs) • NATӽ͖͔͑͢ఆ͢Δαʔόʔ
http://io13webrtc.appspot.com/
TURN (Traversal Using Relay around NAT) • NATΛӽ͑ͯɺσʔλϦϨʔ͢Δ
http://io13webrtc.appspot.com/
ৄͪ͘͜͠Β http://io13webrtc.appspot.com/
ͭ·ΓɺSTUN/TURNΛ ߏங͢ΕΑͦ͞͏ʂ
…୭͕Δͷʁ
WebRTCΛ࣮ݱ͢ΔͨΊʹඞཁͳͷ • P2P௨৴͢Δϒϥβ/σόΠε • WebRTCͷࣝ • STUN/TURNͷࣝ • αʔόʔΛߏங͢Δਓ
WebRTCΛ࣮ݱ͢ΔͨΊʹඞཁͳͷ • P2P௨৴͢Δϒϥβ/σόΠε • WebRTCͷࣝ • STUN/TURNͷࣝ • αʔόʔΛߏங͢Δਓ ←
୭ʁ
https://nttcom.github.io/skyway/
Skyway • WebRTCͷϓϥοτϑΥʔϜ • iOS/AndroidͷϑϨʔϜϫʔΫΛఏڙ • ຊޠυΩϡϝϯτ • ແྉ(ਆ)
• WebRTCͷϓϥοτϑΥʔϜ • iOS/AndroidͷϑϨʔϜϫʔΫΛఏڙ • ຊޠυΩϡϝϯτ • ແྉ(ਆ) https://nttcom.github.io/skyway/
υΩϡϝϯτຊޠʂ • WebRTCͷϓϥοτϑΥʔϜ • iOS/AndroidͷϑϨʔϜϫʔΫΛఏڙ • ຊޠυΩϡϝϯτ • ແྉ(ਆ) https://nttcom.github.io/skyway/
·ͱΊ • ແྉ௨ɺϏσΦ௨Λ࣮ݱ͢ΔͳΒ WebRTC • ৄ͍͠Πϯϑϥ͓͡͞Μ͕͍ͳͯ͘ɺ SkyWay͕ॿ͚ͯ͘ΕΔ