Calls the conference with the given id and the given headers.
Conference ID to dial in to.
Optional
headers: Record<string, string>Headers to pass with the call.
A Call instance.
InvalidOperationError if SinchClient is not started
Calls a phone number and terminates the call to the PSTN-network (Publicly Switched Telephone Network).
The phone number to call. The phone number should be given according to E.164 number formatting (http://en.wikipedia.org/wiki/E.164) and should be prefixed with a '+'. E.g. to call the US phone number 415 555 0101, it should be specified as "+14155550101", where the '+' is the required prefix and the US country code '1' added before the local subscriber number.
Optional
headers: Record<string, string>Headers to pass with the call.
A Call instance.
InvalidOperationError if SinchClient is not started
Makes a SIP call to the user with the given identity. The identity should be in the form "sip:user@server".
SIP identity to dial in to.
Optional
headers: Record<string, string>A Call instance.
InvalidOperationError if SinchClient is not started
Makes a call to the user with the given id.
The app specific id of the user to call. May not be null or empty.
Optional
headers: Record<string, string>Headers to pass with the call.
A Call instance.
InvalidOperationError if SinchClient is not started
Makes a video call to the user with the given id and adding the given headers.
The app specific id of the user to call. May not be null or empty.
Optional
headers: Record<string, string>Headers to pass with the call.
A Call instance.
InvalidOperationError if SinchClient is not started
Sets or removes audio track constraints that are applied to ongoing calls and will also be used for any new Call created.
The constraints to apply for the audio track:
{ deviceId: { exact: "mic-id" }, echoCancellation: true }
).null
to remove previously set constraints, falling back to the default device
when requesting audio.Sets or removes audio track constraints that are applied to ongoing calls and will also be used for any new Call created.
The constraints to apply for the video track:
{ width: 1280, height: 720 }
).null
to remove previously set constraints, falling back to default constraints
(e.g. the DefaultMediaStreamFactory's default video constraints, if provided).
The CallClientListener object will be notified of new incoming calls.