FFmpeg 3.1.3 av_read_frame returning -104 ECONNRESET
|Reported by:||Hapie||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I am streaming mp3 audio from url using ffmpeg 3.1.3 which is able to play audio nicely for 5 seconds and then it hangs.
On debugging in logs I found av_read_frame returning -104 value which is I guess ECONNRESET error.
Any idea why connection is getting reset?
Plus on some other streams if a pause player for more than 120 seconds which is default reconnect delay time limit, it return -104 again.
[I increased reconnect delay limit by using avoptions -reconnect_at_eof 1, -reconnect_delay 3600, and -reconnect 1]