You can build your own streaming and calling mobile apps based on the iOS SDK. All signaling communications are held via the Websocket protocol. WebRTC is used for audio and video streaming


Connect to server

FPWCSApi2Session *session = [FPWCSApi2 createSession:options error:&error];

Publish a stream

FPWCSApi2Stream *stream = [session createStream:options error:&error];
if(![stream publish:&error]) {
//published without errors 

Play a stream

FPWCSApi2Stream *stream = [session createStream:options error:nil];
if(![stream play:&error]){
 //published without errors

Unpublish or stop

([FPWCSApi2 getSessions].count) {
FPWCSApi2Session *session = [FPWCSApi2 getSessions][0];
NSLog(@"Disconnect session with server %@", [session getServerUrl]);
[session disconnect];

iOS SDK docs

Give it a try

1. Install WCS-server using this instruction or launch a server instance on Amazon AWS or DigitalOcean.

2. Here is described how to build examples using Xcode before 10. Examples building procedure with Xcode 10 and newer slightly differs, and described here.


Download iOS SDK builds

WebRTC iOS SDK and demo apps

Download iOS SDK

Sample sources

Source code of demo apps for iOS SDK

Download sources

iOS SDK API docs

Learn API documentation for iOS SDK

iOS SDK API docs

iOS SDK Developer Guide

Here we explain source codes of iOS mobile apps

Developer Guide

iOS SDK code samples

Set of demo samples based on the iOS SDK


The streamer can be used to publish a live stream from a camera of a mobile device to the server.player

The player is used for the live stream playback in mobile apps2-players

This example is helpful if you need to place two or more live players on the same mobile app

You can select particular camera of a mobile device and apply available settings such as FPS, frame size,

This example allows to record a live stream in a mobile application and then download or play the recorded stream.


This is two way streaming example when we publish a stream from a mobile device and play another stream simultaneously. It can be used as a base for video chat. conference

Video conference for three participants. Each participant can be a browser or mobile device. video-chat

Video chat for two participants. Each participant can be a browser or mobile device. 


Click to Call button for SIP calls from a mobile app. 

Phone mobile application working over the SIP protocol. 

Phone mobile application with video support working over the SIP protocol.


All demo samples are described in the Developer Guide

Web SDK  |  Android SDK  |  iOS SDK