BufferInputOptions
Options controlling BufferInput behaviour beyond the audio format.
Defined in: src/providers/input/BufferInput.ts:101
Options controlling BufferInput behaviour beyond the audio format.
See
BufferInput for the provider these configure
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
autoDetect? | boolean | true | Whether to detect the audio format from the bytes pushed into the provider. Remarks When enabled, BufferInput sniffs the start of the stream for a container signature (WAV, OGG, MP3, FLAC, WebM, …) and fills in any format fields the constructor did not declare. Explicitly declared fields always win, so detection can only add information, never override it. Disable it to keep getMetadata() fixed at the declared values regardless of what is pushed. | src/providers/input/BufferInput.ts:116 |