Is there a way to have max HTTP reconnects for a stream?
Posted: 13 Nov 2018 16:21
I understand --http-reconnect and --no-http-reconnect determine whether or not to reconnect to an HTTP stream if disconnected. Is there any way to say "max reconnects" so that the stream is aborted after X reconnects? It would really help to be able to determine a stream has ended, say if you can't reconnect after 10 times it's probably over. Currently it seems like you either have to never reconnect or always reconnect.