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
Readable stream:
The readable stream to probe
optional
probeSize?: numberThe number of bytes to attempt to read before giving up on the probe
optional
validator?: typeof validateDiscordOpusHeadThe Opus Head validator function