# Sync multiple stream targets

**URL:** https://community.wowza.com/t/sync-multiple-stream-targets/53988
**Category:** Wowza Streaming Engine
**Created:** [September 24, 2019, 5:17pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988 "2019-09-24T17:17:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Lionel\_Gattegno3](https://avatars.discourse-cdn.com/v4/letter/l/e480ec/32.png) [@Lionel\_Gattegno3](https://community.wowza.com/u/Lionel_Gattegno3)
#### Post date: [September 24, 2019, 5:17pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/1 "2019-09-24T17:17:54Z")

</div>

Hello,

I’m distributing a live tv channel to Youtube (RTMP), Facebook (RTMPS) and Akamai (HLS).

As our shows contains interactivity, we want our audience to watch the same thing whatever is the platform.

Actually, Youtube and Facebook are almost in sync but Akamai has a 30+ seconds delay.

I would like to find a way to add delay to a stream target to artificially keep sync between all targets.

How can I achieve this? (I’m able to write custom module if needed)

Thanks

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [September 24, 2019, 5:31pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/2 "2019-09-24T17:31:00Z")

</div>

Are you sending single bitrate @Lionel Gattegno or adaptive bitrate files?

And I also need to know if you are setting this up through the REST API.

Thanks.

---

<div class="post-metadata">

### Author: ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)
#### Post date: [September 24, 2019, 5:38pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/3 "2019-09-24T17:38:29Z")

</div>

Are you sending HLS to Akamai? In that case it’s simply because HLS by nature has this delay. You may be able to decrease the delay to 6-10 seconds, but that’s about how low you can go. I suppose Akamai no longer supports ingest over RTMP(S)?

See [https://www.wowza.com/blog/hls-latency-sucks-but-heres-how-to-fix-it](https://www.wowza.com/blog/hls-latency-sucks-but-heres-how-to-fix-it)

_–_

_EDIT: the comment below is no longer actual - see response from Rose._

_–_

_PS: None of my business, but as far as I know, Live Streaming to Facebook has to be exclusive as per their Terms & Conds. Meaning that you cannot send a Live stream to FB and to any other social media network/platform at the same time_

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [September 24, 2019, 6:12pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/4 "2019-09-24T18:12:26Z")

</div>

Thanks @Karel Boek-Senior Consultant for looking out for everyone here and encouraging best practices, but FB does allow this as of earlier this year and I will post a link explaining it very soon.

\*\* here you go:

[https://developers.facebook.com/policy/#liveAPI](https://developers.facebook.com/policy/#liveAPI)

The rule was removed from the list and you can simulcast without concern. This has been verified and confirmed.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [September 24, 2019, 6:17pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/5 "2019-09-24T18:17:19Z")

</div>

Regarding your initial question @Lionel Gattegno about introducing intentional buffer, you could technically still [send RTMP to Akamai](https://www.wowza.com/docs/how-to-use-rtmp-to-distribute-live-streams), but they are removing that option soon. Really no way to sync it up though as all RTMP and especially not if you are sending it as HLS. Because as Karel said, the HLS Cupertino packetizers need to send a certain number of segments through Akamai before playback.

Great question though, so thanks for asking!

---

<div class="post-metadata">

### Author: ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)
#### Post date: [September 24, 2019, 8:43pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/6 "2019-09-24T20:43:29Z")

</div>

That’s good to know Rose; thanks for correcting me

---

<div class="post-metadata">

### Author: ![Lionel\_Gattegno3](https://avatars.discourse-cdn.com/v4/letter/l/e480ec/32.png) [@Lionel\_Gattegno3](https://community.wowza.com/u/Lionel_Gattegno3)
#### Post date: [September 25, 2019, 6:41am UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/7 "2019-09-25T06:41:28Z")

</div>

Thanks,

I’m using MSL4 service from Akamai, and RTMP is not an option…

An other option would be to add buffer to YT and FB targets (both RTMP), I don’t need near real time delivery, I just need sync between targets.

Can a custom module help me?

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [September 25, 2019, 3:13pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/8 "2019-09-25T15:13:43Z")

</div>

I checked with the engineers and they had no suggestions for a custom module at this time. You can reach out to Pro Services if you’d to discuss having Wowza potentially build something for you.

[https://www.wowza.com/professional-services](https://www.wowza.com/professional-services)

---

<div class="post-metadata">

### Author: ![Lionel\_Gattegno3](https://avatars.discourse-cdn.com/v4/letter/l/e480ec/32.png) [@Lionel\_Gattegno3](https://community.wowza.com/u/Lionel_Gattegno3)
#### Post date: [September 25, 2019, 4:14pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/9 "2019-09-25T16:14:55Z")

</div>

Thanks Rose, I’m in touch with Jean, I will discuss the needs with him!

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [September 25, 2019, 4:33pm UTC](https://community.wowza.com/t/sync-multiple-stream-targets/53988/10 "2019-09-25T16:33:43Z")

</div>

Oh good, she will help you and I’ll follow up with her. Thanks again for posting.
