Jhawsh
DIAdiscord.js - Imagine an app
•Created by Jhawsh on 3/28/2024 in #djs-voice
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play
For future reference whoever may come across this, I was having issue with the implementation of
and ended up subsituting it for
Both impl worked locally but something in the server environment must of been having issues.
8 replies
DIAdiscord.js - Imagine an app
•Created by Jhawsh on 3/28/2024 in #djs-voice
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play
I am able to use
ffmpeg -i http://radio.truckers.fm/radio-ogg -c copy test.ogg
to output the stream to an ogg file. Its also accesible via ssh by just typing 'ffmpeg'. Unless it needs to be put anywhere special for discordjs to pick it up8 replies
DIAdiscord.js - Imagine an app
•Created by Jhawsh on 3/28/2024 in #djs-voice
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play
Here is the exact code which runs locally fine, but on a hosted server does not play anything.
The voice channel joining code is here (it does join the channel fine)
I've disabled the firewall on the server to rule that out.
8 replies
DIAdiscord.js - Imagine an app
•Created by Jhawsh on 3/28/2024 in #djs-voice
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play
I just removed url, but I am 100% sure the stream works, (I've tried with OggOpus and the ogg streaming link).
The implementation actually works fine locally (and on a different hosted server), but for some reason on my new host doesn't work.
My only thoughts is it could be something to do with the firewall, but I am not seeing anything suggesting that in the debug/errors
8 replies
DIAdiscord.js - Imagine an app
•Created by Jhawsh on 3/28/2024 in #djs-voice
Audio Resources immediately goes from "playing" to "idle" despite having NoSubscriberBehavior.Play
8 replies