Peffern
Does receiveVoice still work?
Okay i was going in completely the wrong direction. As far as I can tell Kord works beautifully for my use case. The cause was actually a crappy Opus codec. Switching to Concentus appears to have fixed the problem. Sorry for wasting your time.
20 replies
Does receiveVoice still work?
sorry, I forgot this isn't strictly an android library, I was being dumb. I can provide more context now:
- I want to host a discord bot on android
- I am deploying the code from android studio to my phone and running it there. I have the USB debugging logs for everything running in my phone which is difficult to parse out just the ones from this application. (I can put more time into figuring this out if it would help).
- The thing that is crashing is the android application that is running the bot code.
-some code:
this is where I initialize my voice connection from a voice channel. I intend to both send and receive audio. As you can see here the sending is working fine. When I uncomment the receiveVoice line, it works as normal until any other member in the same voice channel as the bot makes any sound, at which point the android application exits for reasons I don't know yet, see above.
20 replies