toggle menu
kord
0.16.0-SNAPSHOT
jvm
switch theme
search in API
kord-voice
/
dev.kord.voice.udp
/
AudioPacketProvider
Audio
Packet
Provider
abstract
class
AudioPacketProvider
(
val
key
:
ByteArray
,
val
nonceStrategy
:
NonceStrategy
)
(
source
)
Inheritors
DefaultAudioPacketProvider
Members
Constructors
Audio
Packet
Provider
Link copied to clipboard
constructor
(
key
:
ByteArray
,
nonceStrategy
:
NonceStrategy
)
Properties
key
Link copied to clipboard
val
key
:
ByteArray
nonce
Strategy
Link copied to clipboard
val
nonceStrategy
:
NonceStrategy
Functions
provide
Link copied to clipboard
abstract
fun
provide
(
sequence
:
UShort
,
timestamp
:
UInt
,
ssrc
:
UInt
,
data
:
ByteArray
)
:
ByteArrayView