Latest 1.2.2
Homepage https://github.com/Temasys/SKYLINK-iOS
License MIT
Platforms ios 9.0, requires ARC
Dependencies Socket.IO-Client-Swift
Frameworks AudioToolbox, AVFoundation, CFNetwork, CoreAudio, CoreGraphics, CoreMedia, Foundation, GLKit, UIKit, VideoToolbox
Authors

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
Sample App Swift(Github) https://github.com/Temasys/SkylinkSDK_iOS_SampleApp_Swift4

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

Latest podspec

{
    "name": "SKYLINK",
    "version": "1.2.2",
    "summary": "SKYLINK.framework distribution",
    "description": "SKYLINK.framework distribution for iOS",
    "homepage": "https://github.com/Temasys/SKYLINK-iOS",
    "license": "MIT",
    "authors": {
        "Temasys Communications": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Temasys/SKYLINK-iOS.git",
        "tag": "1.2.2"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "frameworks": [
        "AudioToolbox",
        "AVFoundation",
        "CFNetwork",
        "CoreAudio",
        "CoreGraphics",
        "CoreMedia",
        "Foundation",
        "GLKit",
        "UIKit",
        "VideoToolbox"
    ],
    "dependencies": {
        "Socket.IO-Client-Swift": [
            "~> 12.1.3"
        ]
    },
    "libraries": [
        "c",
        "icucore",
        "sqlite3",
        "stdc++"
    ],
    "xcconfig": {
        "OTHER_LDFLAGS": "-lObjC"
    },
    "vendored_frameworks": "SKYLINK.framework",
    "preserve_paths": "SKYLINK.framework"
}

Pin It on Pinterest

Share This