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

オンライン英会話アプリとSkyWay

73e80d16abc7cc65e08d430c2eae811b?s=47 taminif
January 15, 2018

 オンライン英会話アプリとSkyWay

73e80d16abc7cc65e08d430c2eae811b?s=128

taminif

January 15, 2018
Tweet

Transcript

  1. ΦϯϥΠϯӳձ࿩ΞϓϦͱ SkyWay SkyWay UG Kansai #1 2018/01/12 େౡ ޫو@sbntaminif

  2. ஫ɿ͜ͷLT͸ iOSDCηογϣϯ͔Β SkyWayʹݶఆͯ͠ য఺Λ౰ͯͨ΋ͷͰ͢

  3. ࣗݾ঺հ • ΢ΣϒϦΦגࣜձࣾWEBΤϯδχΞ + ϓϩμΫτ Ϛωʔδϟʔ • ΞϓϦΤϯδχΞ
 ʢࣗশʣ •

    ϞνϕʔγϣϯΛ্͛ΔԿ͔Λཉͯ͠·͢
  4. ΞϓϦΛ࡞ΔܦҢ

  5. iOSͷSafari͸ WebRTCʹରԠ͍ͯ͠·ͤΜ Ͱͨ͠ ʢ2017೥3݄౰࣌ʣ

  6. iPhone΍iPadͰ͸ Weblioӳձ࿩͕࢖͑ͳ͍

  7. ࿩͸มΘͬͯɺ Weblioӳձ࿩͸ֶߍ΍ اۀʹ΋ఏڙ͍ͯ͠·͢

  8. ·ͨɺֶߍͷதʹ͸ iPadΛतۀʹ࢖༻͢Δॴ΋ ૿͖͑ͯ·ͨ͠

  9. ʮWeblioӳձ࿩ΛiPadͰ ࢖༻Ͱ͖ͳ͍ʁʯ

  10. iOS SafariͰ͸ແཧ͚ͩͲ ΞϓϦͰ࣮૷͢Ε͹Ͱ͖Δ

  11. https://itunes.apple.com/jp/app/weblio๏ਓӳձ࿩/id1215209006?mt=8

  12. ΞϓϦͷ঺հΛ͠·͢ʂ

  13. ͱͯ΋γϯϓϧͳΞϓϦ ᶃϩάΠϯ

  14. ͱͯ΋γϯϓϧͳΞϓϦ ᶄ࣍ճͷϏσΦϨοεϯ೔࣌֬ೝ

  15. ͱͯ΋γϯϓϧͳΞϓϦ ᶅϨοεϯ

  16. Ϩοεϯͷػೳ͸͜ͷࡾͭ ϏσΦ෦෼ ڭࡐ෦෼ νϟοτ෦෼

  17. SkyWay෦෼͸ ᶃͷϏσΦ෦෼Ͱ͢

  18. ΞϓϦͷ࣮૷

  19. ΋ͪΖΜɺΞϓϦʹ΋ WebRTCͰ࣮૷͢Δඞཁ͕ ͋Γ·͢

  20. SkyWay: WebRTCΛ؆୯ʹ ࣮ݱ͢ΔαʔϏε https://webrtc.ecl.ntt.com

  21. let options:SKWPeerOption = SKWPeerOption.init() options.key = `APIΩʔ` options.domain = `υϝΠϯ`

    peer = SKWPeer.init(options: options) peer?.on(SKWPeerEventEnum.PEER_EVENT_OPEN, callback: {(obj) -> Void in // my peer ID if let ownId = obj as? String { self.videoLessonRtdb.writeSkyWayId(id: ownId) } }) peer?.on(SKWPeerEventEnum.PEER_EVENT_CALL, callback: {(obj) -> Void in let mediaConnection:SKWMediaConnection = obj as! SKWMediaConnection self.videoConnection = mediaConnection mediaConnection.answer(self.localMediaStream) }) αϯϓϧίʔυ #import <SkyWay/SKWPeer.h> $PDPB1PETͰΠϯετʔϧ ͨ͠ϥΠϒϥϦΛΠϯϙʔτ 1FFSΦϒδΣΫτΛੜ੒ ʢγάφϦϯάαʔόʔʹ৘ ใॻ͖ࠐΈʣ ௨৴։࢝ ͜͜Ͱ͸ө૾ͱԻ੠Λૹ৴ ৘ใΛॻ͖ࠐΜͩΒɺ 1FFS*%͕ൃߦ͞Ε·͢
  22. ஫ɿ͜ͷΞϓϦ͸ چSkyWayͰಈ͍͍ͯ·͢

  23. ·ͱΊ ΞϓϦͷ஌ݟ

  24. ·ͱΊ • ϥΠϒϥϦΛೖΕΔ͜ͱͰɺJSͱมΘΒͳ͍Ϩϕ ϧͰ࣮૷͕Մೳ • PC <=> ΞϓϦͷ௨࿩΋໰୊ͳ͠ • SafariͰ΋ಈ͘Α͏ʹ͸ͳ͕ͬͨɺࠓ࣌఺Ͱ͸Ξ

    ϓϦͷํ͕҆ఆͯ͠ಈ࡞͢ΔͷͰ·ͩ·ͩधཁ͸ ͋Δͱࢥ͍·͢ʂ
  25. ͋Γ͕ͱ͏͍͟͝·ͨ͠