TimedBufferNodeParams: {
    channelCount: number;
    fillInterval?: number;
    frameBufferChunks?: number;
    sampleRate?: number;
}

Parameters for creating a timed buffer node. Used in the StreamNodeFactory.createTimedBufferNode function.

Type declaration

  • ReadonlychannelCount: number

    The number of audio channels.

  • Optional ReadonlyfillInterval?: number

    Optional. The interval in milliseconds for filling the buffer.

  • Optional ReadonlyframeBufferChunks?: number

    Optional. The number of chunks in the frame buffer.

  • Optional ReadonlysampleRate?: number

    Optional. The sample rate of the audio context.