dialStream

abstract fun dialStream(endpoint: String): Call

Dials an audio stream endpoint through the Sinch Voice V2 platform.

Return

A Call instance.

Parameters

endpoint

Stream endpoint URL, for example wss://example.com/audio.

Throws

If a permission required to place the call is missing.


abstract fun dialStream(endpoint: String, options: DialStreamOptions): Call

Dials an audio stream endpoint through the Sinch Voice V2 platform.

Return

A Call instance.

Parameters

endpoint

Stream endpoint URL, for example wss://example.com/audio.

options

Voice V2 stream destination options.

Throws

If endpoint is empty, the configured sample rate is not positive, the protocol version is outside 0 through 255, more than 16 call headers are given, a header key is empty or longer than 255 characters, or a header value is longer than 255 characters.

If a permission required to place the call is missing.