Skip to content

Function: startOutgoingCall() ​

ts
function startOutgoingCall(recipient, options): Promise<string>;

Defined in: Calls.ts:381

Starts an outgoing call to the specified recipient.

This requests the system to initiate a call. The system will display the appropriate call UI and emit an OutgoingCallStartedEvent when you should begin connecting your media.

Parameters ​

ParameterTypeDescription
recipientCallParticipantThe participant to call.
optionsCallOptionsCall configuration options (e.g., video enabled).

Returns ​

Promise<string>

The unique identifier for this call session.

Example ​

typescript
const callId = await startOutgoingCall(
  { id: 'user-123', displayName: 'John Doe' },
  { hasVideo: true }
);

See ​