/SwiftWebRTC

A Swift interface for WebRTC using libjingle_peerconnection and the Signalite signaling server

Primary LanguageSwiftMIT LicenseMIT

SwiftWebRTC

A Swift interface for WebRTC using libjingle_peerconnection, Socket Rocket and a Signalite signalling server

Usage

At the moment, the files must be manually copied into your project. Download and copy the following files into your project.

RTClient.swift
SignalMessage.swift
WebRTC.swift 

Add the following to your podfile:

use_frameworks!

pod 'libjingle_peerconnection'
pod 'SocketRocket'

Run pod install

Run an instance of the Signalite server

See the example viewController for setting up and managing a connection. Remember to change the URL to the location where the server is running.