CallSettings
This API is in beta and subject to change.
Call settings with additional call parameters, such as preferred video codec, custom data, extra headers etc.
Methods
toString
fun toString(): String
Returns
type:
String
Props
customData
var customData: String?
This API is in beta and subject to change.
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
var extraHeaders: Map<String, String>?
This API is in beta and subject to change.
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>?
preferredVideoCodec
var preferredVideoCodec:
This API is in beta and subject to change.
Preferred video codec for a particular call that this CallSettings are applied to. VideoCodec.Auto by default.
Returns
type:
receiveVideo
var receiveVideo: Boolean
Returns
type:
Boolean