SKYLINK 1.2.0

SKYLINK 1.2.0

License MIT
ReleasedLast Release Apr 2018
SwiftSwift Version 4.0

Maintained by Xiangrong, Romain PELLEN, Liu Yuxi, Romain PELLEN.


Downloads

Total38,278
Week0
Month245

Installs

Apps400
Test Targets17
powered by Segment

GitHub

Stars4
Watchers10
Forks4
Issues4
Contributors3
Pull Requests1


SKYLINK 1.2.0

  • By
  • Romain Pellen (Temasys Communications) and Xiangrong (Temasys Communications)

Temasys iOS SDK

Version License Platform

The Temasys iOS SDK lets you build real time webRTC applications with voice calling, video chat, P2P file sharing or data and messages exchange. Go multi-platform with our Web and Android SDKs.

Documentation & Sample App

Check out the documentation and our sample app to get usage instructions and examples.

Description Link
Temasys iOS SDK documentation https://cdn.temasys.io/skylink/skylinksdk/ios/latest/docs/index.html
Sample App (Github) http://github.com/Temasys/SkylinkSDK-iOS-Sample

Requirements

Your project should use ARC and target iOS 9 or higher.

Installation

The Temasys iOS SDK (formerly SkylinkSDK for iOS) is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SKYLINK"

To use this SDK, you need to get you API key at http://console.temasys.io/register

Use the Temasys iOS SDK in a Swift project

To create a Swift project using Teamsys iOS SDK, follow these steps:

  • Create new Xcode project
  • Run pod init
  • Your Podfile should look like that:
    use_frameworks!
    target 'MyTarget' do
    pod "SKYLINK"
    end
  • Run pod install
  • Create the Project-Bridging-Header.h and refer to it in build settings (swift compiler section)
  • Add #import <SKYLINK/SKYLINK.h> to the newlly created file You should be able to run your project after this, and use Temasys iOS SDK with Swift.

Configuring Settings

  • After running 'pod install', use the .xcworkspace file and always work with this from now on (instead of the .xcodeproj file).
  • For each target planned to use Temasys iOS SDK, go to Build settings (make sure “all” is selected) > Build Options > Enable bit code and set it to NO. This will avoid the “…does not contain bitcode” message
  • If you get the error “The resource could not be loaded because the App Transport Security policy requires the use of a secure connection”, edit your info.plist by adding a NSAppTransportSecurity key as Dictionary, and add a sub-key named NSAllowsArbitraryLoads as boolean set to YES.
  • Optionally, if you want your app to be able to process audio even when the users leaves the app or locks the device, just enable the VoIP background capability or the audio background capability in the target’s “capabilities” tab.
  • You might need to specify the swift language version in some pod targets. Use Swift 4.

Start coding !

The Temasys iOS SDK is designed to be simple to use. The main idea when using it is to prepare and create a connection to a "room" via the Temasys platform. After that, you will be able to send messages to the connection and implement the desired protocols to control what happens between the local device and the peers connected to the same "room".

To learn even more, please consult the follwing ressources:

Tutorials

Tutorial Link
Getting started with Temasys iOS SDK for iOS http://temasys.io/getting-started-skylinksdk-ios/
Handle the video view stretching http://temasys.io/a-simple-solution-for-video-stretching/

Problem if you are creating a project with Objective-C:

You may have a compiling error if you create an Objective-C project and integrate our SDK, it could be something like "unspecified version of Swift", if this happens, you may just go to the ""Pods" ---> "Targets", select "Starcream", then ---> "Build Settings", search "Swift", and you will find the ""Swift Language Version", change it from "unspecified" to "4.0"

Other Resources

Support portal

If you encounter any issues or have any enquiries regarding the Temasys iOS SDK, drop us a note on our support portal and we would be happy to help!

You can subscribe to Temasys iOS SDK releases notes: http://support.temasys.io/support/solutions/articles/12000012359-how-can-i-subscribe-to-release-notes-for-skylink-