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.
Name | Type | Optional | Description |
---|---|---|---|
opusHead | Buffer | No | The Opus Head to validate |