Voice
Interface for the discord-luau Voice package.
Summary
Properties
Section titled “Properties”connection
Section titled “connection”webSocket
Section titled “webSocket”jitter
Section titled “jitter”opusSamples
Section titled “opusSamples” Voice.opusSamples :: (packet: buffer) -> number
Returns how many 48 kHz samples an Opus packet holds, read from its TOC byte; raises for an invalid packet. See
Voice.OpusPacket.