VoiceReceiverData
The live-frame event contains binary audio in data, plus speaker identity, format, SSRC, and timestamp. Treat the bytes according to type; Opus frames are not WAV files.
Definition
export interface VoiceReceiverData {
userId: string;
guildId: string;
data: Buffer;
type: NodeLinkVoiceReceiveFormat;
ssrc: number;
timestamp: number;
}