demuxProbe

export declare function demuxProbe(stream: Readable, probeSize?: number, validator?: typeof validateDiscordOpusHead): Promise<ProbeInfo>;
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.
NameTypeOptionalDescription
streamReadableNoThe readable stream to probe
probeSizenumberYesThe number of bytes to attempt to read before giving up on the probe
validatortypeof validateDiscordOpusHeadYesThe Opus Head validator function