twilio-video-ios-capacitor
v0.2.4
Published
This plugin is used to make video calls using Twilio video platform on iOS
Downloads
3
Readme
twilio-video-ios-capacitor
Capacitor plugin for make video calls using Twilio Video platform on iOS.
Since the current implementation of Ionic/PWA apps on iOS run on top of WKWebView and Apple does not support WebRTC on WKWebView, the only way to work with Twilio Video on this platform is to build it natively.
This plugin is currently under development.
Forked from twilio-ios-capacitor.
Installation
NPM
npm i twilio-video-ios-capacitor
Yarn
yarn add twilio-video-ios-capacitor
Usage
This plugin uses version 3.6 of the Twilio Video iOS Library and uses version 2.1.1 of Capacitor
import { TwilioVideoIos } from 'twilio-video-ios-capacitor';
import { Plugins } from '@capacitor/core';
const { TwilioVideoIos } = Plugins
. . .
TwilioVideoIos.joinRoom({ roomName: roomName, accessToken: accessToken})
. . .
Api
| Method | Default | Type | Description |
| ---------------------------------------------------- | ------- | ------------------------- | --------------------------- |
| joinRoom(options: { roomName: string, accessToken: string }) | | Promise<void>
| Used to join a room with the provided accessToken |