CallSettings (class)
com.voximplant.android.sdk.calls
Call settings with additional call parameters, such as preferred video codec, custom data, extra headers etc.
Constructors
Methods
Properties
Constructors
CallSettings
CallSettings()
Methods
toString
fun toString(): String
Returns: String
Properties
customData
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.
extraHeaders
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.
localVideoStream
var localVideoStream: LocalVideoStream?
preferredVideoCodec
var preferredVideoCodec: VideoCodec
Preferred video codec for a particular call that this CallSettings are applied to. VideoCodec.Auto by default.
receiveVideo
var receiveVideo: Boolean
statsCollectionInterval
var statsCollectionInterval: Int
Call statistics collection interval in milliseconds. Default 5000. should be multiple of 500.