Wowza Community

How to synchronize two Wowza servers

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. :smiley:

Thanks!

Yorick

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 on how to add properties using the Manager if you need help.

Andrew.

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