Search...

validateDiscordOpusHead

declare function validateDiscordOpusHead(opusHead: Buffer): boolean;
declare function validateDiscordOpusHead(opusHead: Buffer): boolean;
Takes an Opus Head, and verifies whether the associated Opus audio is suitable to play in a Discord voice channel.
NameTypeOptionalDescription
opusHeadBufferNoThe Opus Head to validate