Restream from CDN, how to synch multiple servers?

I have the task of restreaming a RTMP stream that exists on a CDN. We currently pull the stream with streammanager and then make it available as HLS. However, we have multi-server environment and would like to build in some redundancy on the mechanism which pulls and segments.

If we were to use two origins ( which is the normal approach) then each origin produces

  1. differently named .ts files

  2. splits the segments at different keyframes.

W are using the HTTP cache origin feature to remove the ?wowzasessionid so that the resultant segments can be CDN cached in return.

Is there a way of synching and asking for similar names across the origins or another way to build redundancy?

Thanks,

Joe

Joe,

There is nothing built-in to Wowza to sync servers in this way. You can configure primary and backup origins using pipe delimited urls in your .stream file, but the failover happens when a client connects, and this is not going to work for HTTPOrigin server because clients playback the CDN cache not from Wowza.

Richard

Joe,

You can sync chunks from the same source in two servers using the Application.xml /LiveStreamPacketizer cupertinoCalculateChunkIDBasedOnTimecode Property

		<Property>
		    <Name>cupertinoCalculateChunkIDBasedOnTimecode </Name>
		    <Type>Boolean</Type>
		    <Value>true</Value>
		</Property>

Richard

Joe,

You can sync chunks from the same source in two servers using the Application.xml /LiveStreamPacketizer cupertinoCalculateChunkIDBasedOnTimecode Property

		<Property>
		    <Name>cupertinoCalculateChunkIDBasedOnTimecode </Name>
		    <Type>Boolean</Type>
		    <Value>true</Value>
		</Property>

Richard

I’ve been trying to replicate this all day with no joy - I’ve added it into the /conf/livecf/Application.xml file from the new(ish) CloudFront distribution packages and it’s not creating the chunk Id based on timestamp - which is a problem

Any pointers would be wonderful thanks