discordjs / voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
Apache License 2.0
327 stars 110 forks source link

FFMPEG Arguments #124

Closed iim-ayush closed 3 years ago

iim-ayush commented 3 years ago

Is your feature request related to a problem? Please describe. ffmpeg requires args for reconnecting

Describe the ideal solution Add some ffmpeg args in here

-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5

Describe alternatives you've considered No alternatives

Additional context None

amishshah commented 3 years ago

I've decided against adding this to @discordjs/voice since it means I'd have to make a decision on behalf of other users on which reconnect options to enable, what time frames to specify for reconnection etc.

It is better for users to specify this themselves after making their own decisions on these parameters.