RangeError: offset is out of bounds [@discordjs/opus]
Gathering a RangeError when attempting to play a shoutcast live stream [AUDIO ONLY], the bot has been playing stations like a charm for the past 7 months with no issue and recently arised, not sure what happened and even checked via ffmpeg stats and attempted to see the connection but it looks the same, 48000hz. Looks like its for buffering although not sure what the functionality behind it does at all in order to attempt to manually fix it.
https://gist.github.com/iiTxicz/81f6c628b4e79c3db54f00388401a70b - code
9 Replies
- What are your intents?
GuildVoiceStates
is required to receive voice data!
- Show what dependencies you are using -- generateDependencyReport()
is exported from @discordjs/voice
.
- Try looking at common examples: https://github.com/discordjs/voice-examples.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!What dependencies you are using?
mb for the late reply
thats a odd version of ffmpeg.
could you provide the github from this dependencie?
lemme see if i can get that version
i installed it a while back
via windows installation
ok.
allright please install https://github.com/BtbN/FFmpeg-Builds/releases/tag/latest and remove the old one.