Rate this page:

CallSettings

Call settings with additional call parameters, such as the preferred video codec, custom data, extra headers, etc.

Props

callKitSupport
Optional
Copy URL
IOS

Whether the CallKit integration is enabled for a call

customData
Optional
Copy URL

Custom string associated with a call session.

It can be passed to the cloud to be obtained from the CallAlerting event or Call History via Management API.

Maximum size is 200 bytes.

Use the Call.sendMessage method to pass a string over the limit; in order to pass a large data use media_session_access_url on your backend.

extraHeaders
Optional
Copy URL

Optional set of headers to be sent to the Voximplant cloud. Names should begin with “X-” to be processed by SDK.

localVideoStream
Optional
Copy URL

Local video stream to be sent to a call

muteAudio
Optional
Copy URL

Whether audio is muted in a call

preferredVideoCodec
Optional
Copy URL

Preferred video codec for a particular call that these settings are applied to.

The default value is VideoCodec.Auto.

receiveVideo
Optional
Copy URL

Whether video receiving is enabled in a call.

The default value is false.

If the call is started without video and the user enables video in an active call via the Call.startSendingVideo API, enables video receiving.

statsCollectionInterval
Optional
Copy URL

Call statistics collection interval in milliseconds.

The default value is 1000.

The interval value should be multiple of 500, otherwise the provided value is rounded to a less value that is multiple of 500.

Rate this page: