Skip to content

Capacitor 2 plugin for make video calls using Twilio Video platform on iOS.

License

Notifications You must be signed in to change notification settings

Sina7312/capacitor-twilio-video-ios

 
 

Repository files navigation

twilio-video-ios-capacitor

npm npm

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

About

Capacitor 2 plugin for make video calls using Twilio Video platform on iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 90.0%
  • Ruby 5.0%
  • Objective-C 2.9%
  • JavaScript 1.1%
  • TypeScript 1.0%