validateDiscordOpusHead
export declare function validateDiscordOpusHead(opusHead: Buffer): boolean;
export 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 |