jonathanong / heroku-buildpack-ffmpeg-latest

A Heroku buildpack for ffmpeg that always downloads the latest static build
MIT License
360 stars 720 forks source link

Connection Reset By Peer #64

Open JD-Durant opened 2 years ago

JD-Durant commented 2 years ago

Hello, I made a Discord Bot that plays music via a yt-dlp audio stream. It's been working perfectly for over a year thanks to this buildpack however recently it's began to have a lot of issues.

At random a song will cut off and the bot marks the song as being complete and removes it from the queue, giving the error "error=Connection reset by peer."

While I initially thought it could be an issue with the Youtube Api I am currently using, upon extensive testing I was unable to find any issue on that side and it's led me to here

Issue : image

I was suggested to change the 'reconnect_delay_max' setting to the maximum, however that has sadly not changed it Screenshot of current FFMPEG options : image (yes I use Light theme, fear me)

My thought could be it being an issue with the version that this buildpack may be using but it's a little naive for me to presume, thanks for any help!