nttcom / SkyWay-iOS-Sample

[Deprecated] Sample application of SkyWay iOS SDK
16 stars 11 forks source link

Deprecated!

We have released a new WebRTC platform, ECLWebRTC, to take the place of SkyWay. We will be shutting down the SkyWay servers in March 2018. Customers who are currently using SkyWay are required to migrate to ECLWebRTC by then or their services will stop working.

If you are looking for the repository of ECLWebRTC, please see the new examples.

このレポジトリは、2018年3月に提供を終了する旧SkyWayのiOS SDKのサンプルアプリです。新しいSkyWayへの移行をお願いします。

すでに新しいSkyWayをご利用の方は、新しいサンプルアプリをご覧ください。

SkyWay iOS Sample

Sample application of SkyWay iOS SDK

How to build

  1. Register an account on SkyWay and get an API key
  2. Clone or download this repository.
  3. Open "SkyWay-iOS-Sample.xcodeproj"
  4. Add "SkyWay.framework" library to the "Link Binary With Libraries" build phase of your project.
    1. Download "SkyWay.framework" from SkyWay
  5. Set kAPIKey and kDomain to your API key/Domain registered on SkyWay.io at the top of both "DataConnectionViewController.m" and "MediaConnectionViewController.m" and build!
    // Enter your APIkey and Domain
    // Please check this page. >> https://skyway.io/ds/
    static NSString *const kAPIkey = @"yourAPIKEY";
    static NSString *const kDomain = @"yourDomain";

Installation of SkyWay.framework with CocoaPods

Podfile

platform :ios, '7.0'
pod 'SkyWay-iOS-SDK'

Install

pod install

NOTICE

This application requires v0.2.0+ of SkyWay iOS SDK.


ビルド方法

  1. SkyWayでアカウントを作成し、APIkeyを取得
  2. このレポジトリをクローンまたはダウンロード
  3. "SkyWay-iOS-Sample.xcodeproj"を開く
  4. "SkyWay.framework"をプロジェクトのBuild Phasesの"Link Binary With Libraries"に追加
    1. "SkyWay.framework"はSkyWayからダウンロード
  5. "DataConnectionViewController.m" と "MediaConnectionViewController.m"の上部にあるkAPIKeyとkDomainにAPIkeyとDomainを入力し、ビルド
// Enter your APIkey and Domain
// Please check this page. >> https://skyway.io/ds/
static NSString *const kAPIkey = @"yourAPIKEY";
static NSString *const kDomain = @"yourDomain";

CocoaPodsを利用したSkyWay.frameworkのインストール

Podfile

platform :ios, '7.0'
pod 'SkyWay-iOS-SDK'

Install

pod install

注意事項

本アプリケーションはSkyWay iOS SDKのv0.2.0以降で動作します。