AudioPlayer plays audio about 30s and stop working. Some time it doesn't play any audio.
AudioPlayer plays audio about 30s and stop working. Some time it doesn't play any audio.
My code is okay...
70/74-byte UDP packets
Hey there, I was wondering if the voice package is sending 74 byte UDP packets or 70 byte UDP packets? Discord says that they are deprecating sending 70-byte voice packet in replacement for 74 byte UDP packets and so I was wondering which type the package sends currently.
audio problem
i have this problem: in the middle of the mp3 you can no longer hear my bot in the channel. after that you don't hear it until I restart it or i restarted discord. But today everything was going well until it suddenly started. What could be the cause?
Connection VS Player
When the connection is destroyed does the player also get destroyed or do I have to destroy that as well?
Audio Resource Playing on Client but not on server.
When I host my bot that streams music from my website it plays but if I push it to the server it joins the vc but does not play the music. Has all the same node dependencies and does not produce any error in console.
Any Ideas?...
How can i loop an audio resource?
I've tried this ```ts
client.audioPlayer.on(AudioPlayerStatus.Idle, () => {
if (!client.audioPlayer) return;
client.audioPlayer.play(client.waitaudio);
});...
get screenshots of streams?
is it possible to get screenshots of current streams? or even better, to stream their video elsewhere?
Voice Audio Detection Problems...
Hey, I run a bot which uses the voice packages audio receiving system. I've noticed a problem that appear to occur randomly where the built in VAD (voice audio detection) system appears to stop working at times. The only way to bypass the issue is to have the user manually mute and unmute to trigger the starting and ending of the stream. Anyone else experiencing something like this and is this a known problem? I'll open a Github issue if I don't receive a response soon.
How do I detect once the music has finished (djs v13.12.0) [Solved]
I have messed around with the player.on() function with createAudioPlayer and such but I can not find a solid way to loop it?
Heres my code:
```js...
Join Channel with different Client
How can I say that another Bot is joining the Channel and not the main Bot? (I have the token)
How to check if user is talking
I know I should use the SpeakingMap from @discordjs/voice, but idk how to set it up to work.
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blob, ReadableStream, WritableStream, Stream, Iterable, AsyncIterable, or Promise or { readable, writable } pair. Received undefined
How do I stop an autopaused audio player?
title.
it doesn't look like
audioPlayer.stop()
does anything
its state doesn't change to idle too
this prevents the bot from shutting itself down...how to detect audioPlayer is playing audio resource right now?
how to detect audioPlayer is playing audio resource right now?
How can I change audioresource's volume while playing?
How can I change audioresource's volume while playing?
AudioPlayer.playable includes undefined channels
I've noticed a bug that comes and goes infrequently where
AudioPlayer.playable
includes voice connections whose joinConfig.channelId
references a channel that doesn't exist.
For example, I would like to run some code for every active voice connection. I do this as follows:
```js
audioPlayer.playable.forEach(connection => {...