Skip to main content
Version: Next

Type Alias: VoIPProviderProps

VoIPProviderProps = PropsWithChildren & object

Defined in: mobile-client/src/voip/VoIPProvider.tsx:21

Props of VoIPProvider — the configuration of the VoIP call machine.

Type declaration​

isVideo?​

optional isVideo: boolean

Whether outgoing calls are video calls — reflected in the CallKit session. Make sure the underlying room type is set accordingly. Defaults to false (audio-only).

onWaitingCallDeclined()?​

optional onWaitingCallDeclined: (payload) => void

A waiting or overflow incoming call was declined from native UI. Does not change local call state - use for signaling (e.g. call-rejected to the caller).

Parameters​

ParameterType
payloadVoIPIncomingPayload

Returns​

void