diff options
author | erankor <eran.kornblau@kaltura.com> | 2020-12-03 10:42:52 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2021-01-03 16:47:29 +0100 |
commit | fde5593c7ce5288ae1333e9dc3ca4f95caa69444 (patch) | |
tree | 86d733b30e5584396049f2b3c65612dbf0134671 /libavfilter/vf_spp.c | |
parent | f26b5acfc03375c96e593197a8145ada1b63b1fd (diff) | |
download | ffmpeg-fde5593c7ce5288ae1333e9dc3ca4f95caa69444.tar.gz |
avformat/http: support retry on connection error
Add 2 new options:
- reconnect_on_http_error - a list of http status codes that should be
retried. the list can contain explicit status codes / the strings
4xx/5xx.
- reconnect_on_network_error - reconnects on arbitrary errors during
connect, e.g. ECONNRESET/ETIMEDOUT
the retry employs the same exponential backoff logic as the existing
reconnect/reconnect_at_eof flags.
related tickets:
https://trac.ffmpeg.org/ticket/6066
https://trac.ffmpeg.org/ticket/7768
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/vf_spp.c')
0 files changed, 0 insertions, 0 deletions