Skip to content

frantzraphael/capacitor-opentok

Repository files navigation

@capacitor/opentok

.

Install

npm install @capacitor/opentok
npx cap sync

API

echo(...)

echo(options: { value: string; }) => any
Param Type
options { value: string; }

Returns: any


connect(...)

connect(options: OpentokConnectOptions) => any
Param Type
options OpentokConnectOptions

Returns: any


disconnect()

disconnect() => any

Returns: any


mute(...)

mute(enabled: boolean) => any
Param Type
enabled boolean

Returns: any


Interfaces

OpentokConnectOptions

Prop Type
api_key string
session_id string
token string

AudioStatus

Prop Type
enabled boolean