dca icon indicating copy to clipboard operation
dca copied to clipboard

Moved ffmpeg reconnect options to before the input file in order for them to take effect.

Open fiwippi opened this issue 5 years ago • 0 comments

This should fix the reconnect problems that issue #12 was experiencing.

Issue #15 modified the reconnect optins incorrectly, because the options were after the stream input, they did not affect it so ffmpeg does not perform any reconnects if there is an error in the stream.

There is no concree documentation stating the reconnect options should be out before the input file but examples with the options before th input file can be found:

  • https://stackoverflow.com/questions/62713627/ffmpeg-gives-pull-error-in-the-middle-of-song-discord-py
  • https://stackoverflow.com/questions/43218292/youtubedl-read-error-with-discord-py

Thanks

fiwippi avatar Dec 31 '20 22:12 fiwippi