MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Feature Request] Set bitrate

Open Zipdox opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

There's currently no way to set the bot's bitrate as far as I can tell.

What is your ideal solution to the problem?

A config option to set the bot's bitrate.

How would this feature be used?

Add a line to the config file like this: bitrate = 128000

Additional Info

Discord bots set their own voice bitrate, they don't obey the voice channel bitrate. I checked this by setting the channel bitrate to 8kbps and then invoking the bot. Music still sounded good. I assume the bitrate is hardcoded somewhere.

Checklist

Zipdox avatar Oct 11 '21 19:10 Zipdox

While users are speaking, the bitrate cant be dynamically re-applied. Once a user stops speaking, then starts speaking again, the current bitrate will be applied.

JMusicBot should update to the channel's bitrate once it stops speaking.

MichailiK avatar Oct 11 '21 19:10 MichailiK

@MichailiK I specifically said I changed the bitrate first and then joined the bot.

Zipdox avatar Oct 11 '21 20:10 Zipdox

Oh, oops. Weird thar Discord's voice servers don't seem to limit the bitrate I guess. I don't think specifically setting a bitrate will be something that gets implemented anytime soon though

MichailiK avatar Oct 11 '21 20:10 MichailiK