Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Latest commit

 

History

History

quality_issues_demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Voximplant Quality Issues Demo (Android)

This demo demonstrates how to handle quality issues alerts of Voximplant Android SDK. The application supports audio/video and conference calls between this Android app and other apps that use any Voximplant SDK. Based on MVP architectural pattern.

Key features

The application is able to:

  • listen to quality issues
  • log in to the Voximplant Cloud
  • make an audio/video and conference call

Android 9

Because of the limited access to sensors in background in Android 9, we have made a foreground service to access microphone while app is in the background.

See the following file for code details:

Android 10

Because of the restrictions on starting activities from the background in Android 10, we have made NotificationHelper class build and show full screen notifications

See the following file for code details:

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 quickstart 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. Select quality_issues_demo and build the project using Android Studio

Usage

User login

Log in using:

See the following files for code details:

Make or receive calls

Enter a Voximplant user name to the input field, set checkbox to true if you want to make conference and press "Call" button to make a call.

See the following files for code details:

Quality Issues

Quality Issues with current status are listed at the bottom and also logged to the text view on the middle of the screen.

See the following files for code details:

Call controls

Hold, change video sending or switch camera during a call from options menu. Tap on a video view to enlarge or decrease it.

See the following classes for code details:

Useful links

  1. Quickstart
  2. Voximplant Android SDK reference
  3. HowTo's