Dial Stream Options
data class DialStreamOptions @JvmOverloads constructor(val serviceId: String? = null, val streamOptions: DialStreamConfiguration? = null, val callHeaders: Map<String, String>? = null)
Options for dialing an audio stream through the Sinch Voice V2 platform.
Parameters
service Id
Voice V2 service ID to use for the dial. If null, the project's default service is used.
stream Options
Audio stream configuration. If null, the Voice V2 platform applies its defaults.
call Headers
Custom headers included in the destination call setup. If null, no custom headers are included. At most 16 headers; each key must be 1 to 255 characters, and each value at most 255 characters.
Constructors
Link copied to clipboard
constructor(serviceId: String? = null, streamOptions: DialStreamConfiguration? = null, callHeaders: Map<String, String>? = null)