IRecorder interface

Methods

record(AudioContext, MediaStream, Stream<ArrayBuffer>)
releaseMediaResources(AudioContext)
setWorkletUrl(string)

Method Details

record(AudioContext, MediaStream, Stream<ArrayBuffer>)

function record(context: AudioContext, mediaStream: MediaStream, outputStream: Stream<ArrayBuffer>)

Parameters

context
AudioContext
mediaStream
MediaStream
outputStream
Stream<ArrayBuffer>

releaseMediaResources(AudioContext)

function releaseMediaResources(context: AudioContext)

Parameters

context
AudioContext

setWorkletUrl(string)

function setWorkletUrl(url: string)

Parameters

url
string