toggle menu
kord
0.16.0-SNAPSHOT
jvm
switch theme
search in API
kord-voice
/
dev.kord.voice.udp
/
DefaultAudioPacketProvider
Default
Audio
Packet
Provider
class
DefaultAudioPacketProvider
(
val
key
:
ByteArray
,
val
nonceStrategy
:
NonceStrategy
)
:
AudioPacketProvider
(
source
)
Members
Constructors
Default
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
open
override
fun
provide
(
sequence
:
UShort
,
timestamp
:
UInt
,
ssrc
:
UInt
,
data
:
ByteArray
)
:
ByteArrayView