/PeerClientApp

Demo app for PeerClient which is native peerjs webrtc client for iOS written with Swift

Primary LanguageSwiftMIT LicenseMIT

PeerClientApp

About

PeerClientApp is WebRTC client application for iOS which demonstrates how to use PeerClient framework. This application shows how to create native WebRTC client with Swift. You can call to other peer with video and also send data with data connection. You can draw particles by swiping video screen area which is also shown in the other side of peer's screen during the call.

Dependencies

Usage

  1. Download PeerClient and SocketRocket with carthage
% cd path_to_the_directory/PeerClientApp  
% carthage update --platform iOS  
  1. You also need existing peerjs-server which is already up and runing for signailng, or you need to set up by yourself.

  2. Edit PeerClientApp/Configuration.swift according to your peerjs-server settings.

static let host: String = "put your peerjs server url"
static let path: String = "/"
static let port: Int = 443
static let key: String = "put your peerjs server key"
static let secure: Bool = true

License

MIT