Wow, i would never through of using DNS for this. that's actually a really simple and effective idea.
Many thanks for your help ! 2016-12-30 15:16 GMT-03:00 Jerry Scharf <[email protected]>: > David, > > (shameless plug) It's not built yet, but this is a great use case for the > DNS SRV record based backend. You would just update the RRset for the > _service._tcp.dnsname (dynamic DNS or edit file and reload) and the new > connections would see a different set of servers in the backend. I would > imagine there will be a knob to control how often the DNS is scanned and > possibly a signal to tell it to scan now. > > jerry > > On 12/30/16 9:25 AM, david rene comba lareu wrote: >> >> Hello everyone, first of all, happy new year to all :) >> >> Has been like 2 years last time i wrote to the mailing list, as i >> haven't doing too many haproxy stuff. >> but recently, i have a project where i need to do some redirecting of >> data streams, so haproxy was my first option. >> >> So, i have a video stream that goes to a nginx rtmp server. i need to >> push this stream up to 4 channels (destinations) dynamically. And by >> that, i mean, that could be times when the stream is only forwarded to >> one channel, or none, or 3, or 4. The thing is, i can't cut the >> streams connections that are already playing when i add a new push >> forwarding. That's the reason i can't use nginx directly. >> >> I was wondering if haproxy can actually do this. i can remove the >> nginx server from the architecture, if haproxy support the ffmpeg >> stream directly. >> >> Any ideas? tips? recommendation? everything is welcome ! >> >> Thanks ! >> > > -- > Soundhound Devops > "What could possibly go wrong?" > >

