This plugin is used to make video calls using Twilio video platform (https://github.com/twilio/) on iOS using Capacitor
Branch: master
Clone or download
Marcel Canhisares
Marcel Canhisares Removing dist folder, adding custom icons for buttons, removing Andro…
…id folder and updating Readme
Latest commit 938edc2 Jan 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ios/Plugin
src
.gitignore Removing dist folder, adding custom icons for buttons, removing Andro… Jan 24, 2019
LICENSE
README.md
TwilioIosCapacitor.podspec
package-lock.json Adding twilio video library, adding code to join session and to confi… Jan 23, 2019
package.json
rollup.config.js
tsconfig.json

README.md

twilio-ios-capacitor

npm npm

This plugin is used to make video calls using Twilio video platform (https://github.com/twilio/) on iOS using Capacitor. Since the current implementation of Ionic/PWA apps on iOS run on top of WKWebView, and as of today (24/01/2019), Apple does not support WebRTC on WKWebView, the only way to work with Twilio Video on this platform is to build it natively.

Notice

This plugin is currently under active development.

Installation

  • npm i twilio-ios-capacitor

Usage

This plugin uses version 2.6 of the TwilioVideo iOS Library

import 'twilio-ios-capacitor';
import { Storage, Plugins } from '@capacitor/core';

Plugins.TwilioIosCapacitor.joinTwilioRoom({ roomName: roomName, accessToken: accessToken})

Api

Method Default Type Description
joinTwilioRoom(options: { roomName: string, accessToken: string }) Promise<void> Used to join a room with the provided accessToken