\Aculab\WebServicesWrapper\VoiceBiometrics\UsersAudioStreamSettings

Represents settings for the audio stream to be sent over a web socket.

Summary

Methods
Properties
Constants
__construct()
setFormat()
setSampleRate()
setStreamType()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string|null  $format = null, integer|null  $sample_rate = null, string|null  $stream_type = null) 

Create a AudioStreamSettings object

Parameters

string|null $format

The format of the audio that will be sent.

integer|null $sample_rate

The sample rate of the audio that will be sent.

string|null $stream_type

The type of stream that will be sent.

setFormat()

setFormat(string  $format) : self

Set the audio format.

Parameters

string $format

The format of the audio that will be sent.

Returns

self

setSampleRate()

setSampleRate(integer|null  $sample_rate) : self

Set the audio sample rate.

Parameters

integer|null $sample_rate

The sample rate of the audio that will be sent.

Returns

self

setStreamType()

setStreamType(string  $stream_type) : self

Set the stream type.

Parameters

string $stream_type

The type of stream that will be sent.

Returns

self