# liverepeater-edge acting also as liverepeater-edge-origin - possible / advisable?

**URL:** https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687
**Category:** Wowza Streaming Engine
**Created:** [November 22, 2011, 11:05pm UTC](https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687 "2011-11-22T23:05:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Juraj\_Vitko](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Juraj\_Vitko](https://community.wowza.com/u/Juraj_Vitko)
#### Post date: [November 22, 2011, 11:05pm UTC](https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687/1 "2011-11-22T23:05:40Z")

</div>

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 **liverepeater-edge-origin** ).

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** and **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?

Thanks,

George

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [November 23, 2011, 3:41pm UTC](https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687/2 "2011-11-23T15:41:11Z")

</div>

Hi

Yes this is possible and can be done in the way you described in the 1st paragraph.

Jason

---

<div class="post-metadata">

### Author: ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)
#### Post date: [February 1, 2013, 1:36pm UTC](https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687/3 "2013-02-01T13:36:58Z")

</div>

It’s pretty straightforward, on your second-tier edge server, point the Application.xml to your first-tier edge server instead of your origin server.

rtmp://first.tier.edge/edge/

-Ian

---

<div class="post-metadata">

### Author: ![Law\_Parani](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@Law\_Parani](https://community.wowza.com/u/Law_Parani)
#### Post date: [January 31, 2013, 1:50pm UTC](https://community.wowza.com/t/liverepeater-edge-acting-also-as-liverepeater-edge-origin-possible-advisable/36687/4 "2013-01-31T13:50:25Z")

</div>

> Hi
> 
> Yes this is possible and can be done in the way you described in the 1st paragraph.
> 
> Jason

Can someone please tell me how this configuration can be done.

Thanks

Larry
