You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
voice
/
main
/
StreamType%3AEnum
Search...
K
voice
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
AudioPlayer
AudioPlayerError
AudioReceiveStream
AudioResource
PlayerSubscription
SpeakingMap
SSRCMap
VoiceConnection
VoiceReceiver
Functions
createAudioPlayer
createAudioResource
createDefaultAudioReceiveStreamOptions
demuxProbe
entersState
generateDependencyReport
getGroups
getVoiceConnection
getVoiceConnections
joinVoiceChannel
validateDiscordOpusHead
Enums
AudioPlayerStatus
EndBehaviorType
NoSubscriberBehavior
StreamType
VoiceConnectionDisconnectReason
VoiceConnectionStatus
Interfaces
AudioPlayer
AudioPlayerBufferingState
AudioPlayerIdleState
AudioPlayerPausedState
AudioPlayerPlayingState
AudioReceiveStreamOptions
CreateAudioPlayerOptions
CreateAudioResourceOptions
CreateVoiceConnectionOptions
DiscordGatewayAdapterImplementerMethods
DiscordGatewayAdapterLibraryMethods
JoinConfig
JoinVoiceChannelOptions
ProbeInfo
SpeakingMap
SSRCMap
VoiceConnection
VoiceConnectionConnectingState
VoiceConnectionDestroyedState
VoiceConnectionDisconnectedBaseState
VoiceConnectionDisconnectedOtherState
VoiceConnectionDisconnectedWebSocketState
VoiceConnectionReadyState
VoiceConnectionSignallingState
VoiceUserData
Types
AudioPlayerState
DiscordGatewayAdapterCreator
EndBehavior
VoiceConnectionDisconnectedState
VoiceConnectionState
Variables
version
StreamType
export declare enum
StreamType
export declare enum
StreamType
Summary
The different types of stream that can exist within the pipeline.
Members
Arbitrary
=
"arbitrary"
The type of the stream at this point is unknown.
OggOpus
=
"ogg/opus"
The stream at this point is Opus audio encoded in an Ogg wrapper.
Opus
=
"opus"
The stream at this point is Opus audio, and the stream is in object-mode. This is ready to play.
Raw
=
"raw"
The stream at this point is s16le PCM.
WebmOpus
=
"webm/opus"
The stream at this point is Opus audio encoded in a WebM wrapper.