Rate this page:

CallSettings

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

Constructors

CallSettings
Copy URL
CallSettings()

Methods

toString
Copy URL
fun toString(): 

String

Returns

  • type:

    String

Props

customData
Copy URL
var customData: 

String?

Custom string associated with the call session.

It can be passed to the cloud to be obtained from the CallAlerting event or Call History via HTTP 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.

Returns

  • type:

    String?

extraHeaders
Copy URL
var extraHeaders: 

Map<String, String>?

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

Returns

  • type:

    Map<String, String>?

localVideoStream
Copy URL
var localVideoStream: 

LocalVideoStream?

Returns

preferredVideoCodec
Copy URL
var preferredVideoCodec: 

VideoCodec

Preferred video codec for a particular call that this CallSettings are applied to. VideoCodec.Auto by default.

Returns

receiveVideo
Copy URL
var receiveVideo: 

Boolean

Returns

  • type:

    Boolean

statsCollectionInterval
Copy URL
var statsCollectionInterval: 

Int

Call statistics collection interval in milliseconds. Default 5000. should be multiple of 500.

Returns

  • type:

    Int

Rate this page: