Skip to content

Latest commit

 

History

History

video_call

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

video_call

This demo demonstrates basic video call functionality of the Voximplant Flutter SDK.

It is possible to make video calls with any application (mobile or web) that have integrated Voximplant SDKs.

Features

The application is able to:

  • log in to the Voximplant Cloud
  • auto login using access tokens
  • make a video call
  • receive an incoming call
  • put a call on hold / take it off hold
  • stop/start sending video during a call
  • push notifications
  • CallKit integration (iOS)

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
  • VoIP services certificate for iOS push notifications. Follow this tutorial to upload the certificate to the Voximplant Control Panel
  • Push certificate for Android push notifications. Follow this tutorial to upload the certificate to the Voximplant Control Panel

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 Getting started guide and tutorials

VoxEngine scenario example

require(Modules.PushService);
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. Run flutter pub get

Usage

User login

Log in using:

Make calls

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