function demuxProbe

export declare function demuxProbe(stream: Readable, probeSize?: number, validator?: typeof validateDiscordOpusHead): Promise<ProbeInfo>;

Attempt to probe a readable stream to figure out whether it can be demuxed using an Ogg or WebM Opus demuxer.

Parameters

stream: Readable
The readable stream to probe
optional
probeSize?: number
The number of bytes to attempt to read before giving up on the probe
optional
validator?: typeof validateDiscordOpusHead
The Opus Head validator function