@supportshealth/tw-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2-beta.11 • Public • Published

twilio-plugin

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 tw-plugin

Usage

This plugin uses version 2.6 of the TwilioVideo iOS Library

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

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

Api

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

Readme

Keywords

none

Package Sidebar

Install

npm i @supportshealth/tw-plugin

Weekly Downloads

25

Version

0.1.2-beta.11

License

UNLICENSED

Unpacked Size

169 MB

Total Files

251

Last publish

Collaborators

  • briiquach
  • mcanhisares