icecast-kh icon indicating copy to clipboard operation
icecast-kh copied to clipboard

Request: relay max-duration + and relay-reconnect

Open kalaverin opened this issue 6 years ago • 2 comments

Hi there! I use complex logic with random stream urls on every backend request, I very need two small features:

  1. max-duration option for client connected to relay
  2. relay reconnect to source every N seconds option, if on-demand feature enable or not, if current source restreaming longer N seconds — reconnect to source url, follow redirect (if found) and relay to listeners

Thank you!

kalaverin avatar May 23 '18 01:05 kalaverin

This would be great - currently you have to restart icecast to force the relay config to reconnect!

t0mtaylor avatar Aug 22 '23 08:08 t0mtaylor

the retry-delay should be something like 120 by default but can be overridden on a per-relay basis. It should always be retrying that assuming the relay is not made inactive. The recent builds do allow for a source to override it. Killing the source will trigger a restart of the relay.

karl

karlheyes avatar Oct 17 '23 07:10 karlheyes