How to use setTransportOptions to set voice bitrate, and 2 channel stereo
There has been a recent update to discord in which updateVideoQuality has stopped working as a way to hook, and setTransportOptions for audio channels and bitrate.
I tried to look for what new function replaced it so I can write a new plugin to replace the one I use to play live music over voice chat on discord.... However, I can't find setTransportOptions in any webpack module or find out how to call it..... It is referenced in the index.js that can be found within the discord_voice module folder.
Can someone please help me find what replaced this functionality????
2 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!
- ✅
Marked as resolved by staffwhat does any of this have to do with discord.js?