DiscordOpusVoiceData

public struct DiscordOpusVoiceData

A struct that contains a Discord voice packet with Opus encoded data.

  • The sequence number of this packet.

    Declaration

    Swift

    public let seqNum: Int
  • The source of this packet.

    Declaration

    Swift

    public let ssrc: Int
  • The timestamp of this packet.

    Declaration

    Swift

    public let timestamp: Int
  • The opus voice data.

    Declaration

    Swift

    public let voiceData: [UInt8]