Wowza Community

Synchronizing multiple rtmp streams

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.

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