capacitor-voip
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

capacitor-voip

Capacitor Voip

Install

npm install capacitor-voip
npx cap sync

API

initCore()

initCore() => Promise<CoreResult>

Returns: Promise<CoreResult>


login(...)

login(params: AccountParams) => Promise<LoginResult>
Param Type
params AccountParams

Returns: Promise<LoginResult>


outgoingCall(...)

outgoingCall(params: { address: string; }) => Promise<{ message: string; }>
Param Type
params { address: string; }

Returns: Promise<{ message: string; }>


terminateCall()

terminateCall() => Promise<void>

acceptCall()

acceptCall() => Promise<void>

pauseOrResumeCall()

pauseOrResumeCall() => Promise<void>

toggleSpeaker()

toggleSpeaker() => Promise<toogleSpeakerResult>

Returns: Promise<toogleSpeakerResult>


muteMicrophone()

muteMicrophone() => Promise<muteMicrophoneResult>

Returns: Promise<muteMicrophoneResult>


Interfaces

CoreResult

Prop Type
status boolean
core_version string

LoginResult

Prop Type
success boolean
message string
account string

AccountParams

Prop Type
username string
password string
domain string
transport_type string

toogleSpeakerResult

Prop Type
speaker_enabled boolean
audio_type string

muteMicrophoneResult

Prop Type
is_muted boolean

Readme

Keywords

Package Sidebar

Install

npm i capacitor-voip

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

214 kB

Total Files

60

Last publish

Collaborators

  • triyogadibrata