DialStreamConfiguration

data class DialStreamConfiguration @JvmOverloads constructor(val codec: String? = null, val sampleRate: Int? = null, val version: Int? = null)

Audio stream configuration for a stream dial.

A null property is omitted from the dial request and the Voice V2 platform applies its default.

Parameters

codec

Audio codec name. The currently supported value is pcm.

sampleRate

Number of audio samples per second, in Hz. Must be positive when specified.

version

Stream protocol version. Must be in the range 0 through 255 when specified.

Constructors

Link copied to clipboard
constructor(codec: String? = null, sampleRate: Int? = null, version: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val version: Int?