Lavalink
Lavalink copied to clipboard
Missing option to disable native audio
When testing LavaLink on new systems it would be nice to have a config option to disable native audio sending, since the internal checks do not account for new kernels/systems.
LavaLink seems to default NAS to enabled, making it impossible to test the resources on (currently) unsupported systems like linux-aarch64.
Feel free to add a switch to turn it off
On a sidenote, Lavaplayer generally performs very poorly on ARM.
This doesn't look to be very easy - looks like this would require a modification to JDAA unless it has its own internal null checks for the AudioSendFactory
Lavaplayer does, you can run it without JDA-NAS which is what he's talking about I'm pretty sure. It's not hard to recompile Lavalink without JDA-NAS, but as Fred said it's something I would definitely recommend.
Time so clear up some misconceptions:
- JDA uses its own AudioSendFactory when one isn't explicitly set
- We enabled NAS at runtime https://github.com/Frederikam/Lavalink/blob/master/LavalinkServer/src/main/java/lavalink/server/Launcher.java#L126
- NAS doesn't really have much to do with lavaplayer
implemented in https://github.com/freyacodes/Lavalink/releases/tag/3.7.0