# How to synchronize two Wowza servers

**URL:** <https://community.wowza.com/t/how-to-synchronize-two-wowza-servers/44746>\
**Category:** Wowza Streaming Engine\
**Created:** [February 23, 2015, 12:38am UTC](https://community.wowza.com/t/how-to-synchronize-two-wowza-servers/44746 "2015-02-23T00:38:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [February 23, 2015, 12:38am UTC](https://community.wowza.com/t/how-to-synchronize-two-wowza-servers/44746/1 "2015-02-23T00:38:22Z")

</div>

Hello,

I have two Wowza Http origin servers behind an AWS Elastic load balancer. An encoder publishes rtmp streams to those servers. When a client request comes in, it may be distributed to either one of those servers. Since the playlists and segments returned by those two servers are slightly different in time line, the client cannot play smoothly. Is there a way to synchronize those two servers?

I also tried ELB sticky session and cookies, but for some reasons, they are not applicable to my project. 😃

Thanks!

Yorick

---

<div class="post-metadata">

**Author:** ![Andrew\_Kennedy1](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Andrew\_Kennedy1](https://community.wowza.com/u/Andrew_Kennedy1)\
**Post date:** [February 25, 2015, 6:41am UTC](https://community.wowza.com/t/how-to-synchronize-two-wowza-servers/44746/2 "2015-02-25T06:41:06Z")

</div>

Hi,

If you are using Apple HLS then you can add the following property

Name: cupertinoCalculateChunkIDBasedOnTimecode

Value: true

Type: Boolean

in /Root/Application/LiveStreamPacketizer

See [How-to-get-started-as-a-Wowza-Streaming-Engine-Manager-administrator#addProperty](https://www.wowza.com/docs/how-to-get-started-as-a-wowza-streaming-engine-manager-administrator#addProperty) on how to add properties using the Manager if you need help.

Andrew.

---

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [February 27, 2015, 12:16am UTC](https://community.wowza.com/t/how-to-synchronize-two-wowza-servers/44746/3 "2015-02-27T00:16:30Z")

</div>

Hi Andrew,

Thank you so much! It works. However, I found that the segments with the sequence number but from different servers are different. What does the “timecode” in this property represent and how does Wowza servers sync their sequence numbers?

Thanks!

Yorick
