liverepeater-edge acting also as liverepeater-edge-origin - possible / advisable?
I'm implementing a dynamic scaling setup and it would be very convenient for me if I could use the same
liverepeater-edge app to both serve streams to viewers (as intended), but also at the same time to serve the stream to another
liverepeater-edge app running on another server (which is normally done through
The other way (if the above is not possible or advised against) would be running two apps on the edge server (one
liverepeater-edge and one
liverepeater-edge-origin), but that would mean having two redundant connections (per stream) with the same data to the origin server. (So it would be more straightforward to connect that other edge app directly to the origin server (not proxy it at all), but I don't want to scale at origin in this particular setup.)
I have looked at the Streams.xml and technically there only appears to be a difference in tuning parameters (between
liverepeater-edge-origin), so it should be doable.
Is it OK to do this? Namely, to point a
liverepeater-edge app to another
liverepeater-edge app as its origin. Is there something to watch out for in this setup? Or some recommendations how to tune it for the best for both of the worlds?