SinchDialStreamConfiguration

public struct SinchDialStreamConfiguration

Audio stream configuration for a stream dial.

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

Warning

Beta API. It is functional, but its signature or behaviour may change in a future release without going through the usual deprecation cycle.
  • Audio codec name. The currently supported value is pcm.

    Declaration

    Swift

    public var codec: String?
  • Number of audio samples per second, in Hz. Must be positive when specified.

    Declaration

    Swift

    public var sampleRate: Int?
  • Stream protocol version. Must be in the range 0 through 255 when specified.

    Declaration

    Swift

    public var version: Int?
  • Undocumented

    Declaration

    Swift

    public init(codec: String? = nil, sampleRate: Int? = nil, version: Int? = nil)