Skip to content

Latest commit

 

History

History

VideoCall

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Voximplant Video Call Demo (iOS)

This demo demonstrates basic video call functionality of the Voximplant iOS SDK. The application supports video calls between this iOS app and other apps that use any Voximplant SDK.

This demo application doesn't handle push notifications, so it doesn't receive incoming calls if the application is in the background or killed.

Features

The application is able to:

  • log in to the Voximplant Cloud
  • auto login using access tokens
  • make an video call
  • receive an incoming call
  • put a call on hold / take it off hold
  • change an audio device (speaker, receiver, wired headset, bluetooth headset) during a call
  • switch camera during a call
  • mute video during a call
  • send DTMF
  • auto reconnect/relogin

Getting started

To get started, you'll need to register a free Voximplant developer account.

You'll need the following:

  • Voximplant application
  • two Voximplant users
  • VoxEngine scenario
  • routing setup

Automatic

We've implemented a special template to enable you to quickly use the demo – just install SDK tutorial from our marketplace: marketplace

Manual

You can set up it manually using our Gettins started guide and tutorials

VoxEngine scenario example:

VoxEngine.addEventListener(AppEvents.CallAlerting, (e) => {
const newCall = VoxEngine.callUserDirect(
  e.call, 
  e.destination,
  e.callerid,
  e.displayName,
  null
);
VoxEngine.easyProcess(e.call, newCall, ()=>{}, true);
});

Installing

  1. Clone this repo

  2. Open the Swift.xcodeproj workspace

  3. Target VideoCall and build the project using Xcode

Usage

User login

login

Log in using:

See the following classes for code details:

Make or receive calls

call

Enter a Voximplant user name to the input field and press "Call" button to make a call.

See the following classes for code details:

Call controls

inCall

Mute, hold, change an audio device or switch camera during a call.

See the following classes for code details:

Useful links

  1. Getting started
  2. Voximplant iOS SDK reference
  3. Installing the Voximplant iOS SDK
  4. HowTo's