Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 906 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 906 Bytes

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.