Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
www
 
 
 
 
 
 
 
 
 
 

README.md

ApiRTC Cordova P2P call sample

This sample presents how to use apiRTC.js SDK with Cordova iOS/Andorid app.

Installation

First install Cordova:
npm install -g cordova

Follow this link to get started with Cordova

iOS

Install Xcode

Install iOS platform:
cordova platform add ios

Then run:
cordova prepare ios

Then run *.xcworkspace Xcode project from platforms/ios folder.

Setup certificates inside Xcode -> Signing & Capabilities project section.

Then build from Xcode or use Cordova deployment tools.

Read more about iOS deploying

You can test the app with our web P2P call sample

Android

Install Android Studio

Install Android platform:
cordova platform add android

Then run:
cordova prepare android

Add required permissions to platforms/android/app/src/main/AndroidManifest.xml:

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

Then compile and deploy app to the connected device:
cordova run android --device

OR use Android Studio to build and run the app.

You can test the app with our web P2P call sample

Requirements

Tested on:

  • apiRTC 4
  • iOS: cordova-ios 6.1.0
  • iOS: Xcode 11.5
  • iOS: iOS 13.5
  • Android: cordova-android 9.0.0

The app may work on lower libs versions, but don't report issues.

ApiRTC key

For this demo we use myDemoApiKey api key. Please register on our website to get your private api key.

About

Example of how to use ApiRTC into mobile application

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.