# Synchronizing multiple rtmp streams

**URL:** https://community.wowza.com/t/synchronizing-multiple-rtmp-streams/35457
**Category:** Wowza Streaming Engine
**Created:** [August 30, 2010, 2:49pm UTC](https://community.wowza.com/t/synchronizing-multiple-rtmp-streams/35457 "2010-08-30T14:49:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![A\_M](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@A\_M](https://community.wowza.com/u/A_M)
#### Post date: [August 30, 2010, 2:49pm UTC](https://community.wowza.com/t/synchronizing-multiple-rtmp-streams/35457/1 "2010-08-30T14:49:38Z")

</div>

Hi,

I’m trying to synchronize the timestamps of multiple connections to the same rtmp live stream.

For example, assume the Wowza server is streaming a single live stream. Then assume a client “ **client1** ” connects to the server and starts streaming with the timestamp of the first rtmp message being “zero”. Then after a while, another client “ **client2** ” connects to the server and starts streaming again with the initial timestamp being “zero”.

What I want to do is to have “ **client2** ” stream starts with the timestamp of “ **client1** ” at the time “client2” connected to the Wowza server. Is that possible?!

Generally is it possible to set the starting epoch of a live rtmp stream to some value other than “zero”?!

According to page 12 of the rtmp protocol specification www.adobe.com/devnet/rtmp/pdf/rtmp\_specification\_1.0.pdf , this should be possible. The way to do it is to set the timestamp in chunk1 “C1” of the rtmp handshake to the starting time you want. I tried this but it didn’t work!! Is this feature implemented in the Wowza server?

Thanks in advance for your reply.

---

<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: [August 31, 2010, 12:53am UTC](https://community.wowza.com/t/synchronizing-multiple-rtmp-streams/35457/2 "2010-08-31T00:53:32Z")

</div>

Each client is watching a live stream at the same point, give or take for factors beyond Wowza’s control: the network between Wowza and each client, the clients’ computer resources.

Richard
