# Wowza as relay server

**URL:** <https://community.wowza.com/t/wowza-as-relay-server/38501>\
**Category:** Wowza Streaming Engine\
**Created:** [May 30, 2012, 5:31am UTC](https://community.wowza.com/t/wowza-as-relay-server/38501 "2012-05-30T05:31:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunil\_Chelaramani1](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Sunil\_Chelaramani1](https://community.wowza.com/u/Sunil_Chelaramani1)\
**Post date:** [May 30, 2012, 5:31am UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/1 "2012-05-30T05:31:13Z")

</div>

Hi,

I would like to setup relay server (in middle of 2 Wowza Server). I am wondering which StreamType would be more appropraite for application to behave as Relay Server?

live (origin) =\> liverepeater-edge-origin (Relay) =\> liverepeater-edge

OR

live (origin) =\> liverepeater-edge (Relay) =\> liverepeater-edge

OR

live (origin) =\> liverepeater-origin (Relay) =\> liverepeater-edge

Thanks,

S

---

<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:** [May 30, 2012, 1:41pm UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/2 "2012-05-30T13:41:59Z")

</div>

Hi

In my opinion the set-up should be like this :

live (origin) =\> liverepeater-edge (Relay) =\> liverepeater-edge

Jason

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 30, 2012, 5:38pm UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/3 "2012-05-30T17:38:21Z")

</div>

Actually, don’t use cupertinostreamingrepeater on the origin. Refer to this guide for standard Liverepeater configuration:

[https://www.wowza.com/docs/how-to-configure-a-live-stream-repeater](https://www.wowza.com/docs/how-to-configure-a-live-stream-repeater)

And take a look at this guide for a variation that packetizes on the edge:

[https://www.wowza.com/docs/how-to-lock-multi-bitrate-streams-on-live-stream-repeater-edge](https://www.wowza.com/docs/how-to-lock-multi-bitrate-streams-on-live-stream-repeater-edge)

To mitigate start time for HLS streams, take a look at this guide:

[https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming](https://www.wowza.com/docs/how-to-configure-apple-hls-packetization-cupertinostreaming)

Richard

---

<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:** [May 30, 2012, 2:01pm UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/4 "2012-05-30T14:01:10Z")

</div>

Hi

If you’re using a origin url you need to make sure that the cupertinostreamingrepeater is enabled at the origin server.

If you’re using a .stream file then the packetization is done on the edge server by enabling cupertinostreamingpacketizer.

You will need to keep all streams running between live and relay for HLS out.

Jason

---

<div class="post-metadata">

**Author:** ![Sunil\_Chelaramani1](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Sunil\_Chelaramani1](https://community.wowza.com/u/Sunil_Chelaramani1)\
**Post date:** [May 30, 2012, 5:48am UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/5 "2012-05-30T05:48:41Z")

</div>

Thanks Jason for quickly responding.

This server will be doing RTMP and HLS, does this impact anyway?

Also do I need to keep all streams running between live and relay for HLS out?

---

<div class="post-metadata">

**Author:** ![Sunil\_Chelaramani1](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Sunil\_Chelaramani1](https://community.wowza.com/u/Sunil_Chelaramani1)\
**Post date:** [May 30, 2012, 6:35am UTC](https://community.wowza.com/t/wowza-as-relay-server/38501/6 "2012-05-30T06:35:03Z")

</div>

If I do not keep it running, how much delay customer can expierence with HLS?
