AudioOutputStream class

Represents audio input stream used for custom audio input configurations.

Methods

close()

Explicitly frees any external resource attached to the object

createPullStream(AudioStreamFormat)

Creates a memory backed PullAudioOutputStream with the specified audio format.

Method Details

close()

Explicitly frees any external resource attached to the object

function close()

createPullStream(AudioStreamFormat)

Creates a memory backed PullAudioOutputStream with the specified audio format.

static function createPullStream(format?: AudioStreamFormat)

Parameters

format
AudioStreamFormat

The audio data format in which audio will be written to the push audio stream's write() method (currently only support 16 kHz 16bit mono PCM).

Returns

The audio input stream being created.