MerfAvenger
MerfAvenger
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
I do think that's solved though because there's an article from last month saying that the buffering issues are a result of this, so I guess I'm going to have to find a new project..
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
I'm rereading the API TOS and they've got a number of pieces around skipping ads, which I guess is the crux of it. That's a shame, and I kinda wonder if there's a way to do that with the ads included.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
I'm happy to reread the TOS but to my knowledge this isn't downloading the video and uploading it, it's similar to using the youtube API to embed things as an app.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
That's a TOS violation..? I'm not actually downloading the videos, just streaming.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
The only thing that would confuse me there is why the test bot did work originally when the live one was failing, it seems more like a deps update than the source changing.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
I guess it's very possible that the stream source itself has changed, but then I would expect other people using the library to be complaining of the same problem fairly en-masse. I'll keep an eye on that community though because I have seen people report some fairly similar errors recently.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
Making a stream first, I'm using the play-dl library.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
And have tried a few different urls including ones that have worked in the past.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
Yeah I'm trying both with the same url to load the stream from
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
And my test bot now has the same symptoms, with the only difference being that it most likely only had an npm package update more recently. So I suspect it's not really my code but something else which has changed. The library I use for the streams has not updated in ~8 months, so discord seems like the only candidate if its a deps error.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
If I output the raw error object, I get a cyclical JSON parsing error so I assume the stream object is also output, this is the message and stack trace
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
I've been upping the anti on my logging and found the following, which happens some indeterminate amount of time after the audio player gets to the buffering state:

Audio resource error: AggregateError:
at internalConnectMultiple (node:net:1117:18)
at afterConnectMultiple (node:net:1684:7)

Audio resource error: AggregateError:
at internalConnectMultiple (node:net:1117:18)
at afterConnectMultiple (node:net:1684:7)
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
Unfortunately it's pretty much as simple as it gets, except for being wrapped in pm2. I did try upgrading from 2.8.0 to 2.13.1 but it's exactly the same issue, and my test server is running fine on 20.11.1.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/21/2024 in #djs-voice
AudioPlayerStatus Stuck in Buffering State
It's a remote resource, although I've tried the same one(s) between both of those hosts.
17 replies
DIAdiscord.js - Imagine an app
Created by MerfAvenger on 5/20/2024 in #djs-questions
AudioPlayer Stuck in Buffering Status
I saw that but wasn't sure if it was directly voice or discord js related, so posted it here..
5 replies