# WebRTC high latency & sound issues

**URL:** <https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165>\
**Category:** Wowza Video (Formerly Streaming Cloud)\
**Tags:** webrtc\
**Created:** [May 13, 2020, 4:11pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165 "2020-05-13T16:11:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bohdan\_Klochko](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bohdan\_Klochko](https://community.wowza.com/u/Bohdan_Klochko)\
**Post date:** [May 13, 2020, 4:11pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/1 "2020-05-13T16:11:03Z")

</div>

I am using Wowza Streaming Cloud trial for creating WebRTC broadcasts, but I am currently facing 2 issues:

1. The delay between broadcasting & playback is around 40 seconds, but as I understand WebRTC protocol allows you to run almost real-time broadcasts (1-2s delay).
2. The sound from the broadcast loops and plays a few times in playback.

Is there any way to fix these issues?

---

<div class="post-metadata">

**Author:** ![Rich\_Millard](https://avatars.discourse-cdn.com/v4/letter/r/f04885/32.png) [@Rich\_Millard](https://community.wowza.com/u/Rich_Millard)\
**Post date:** [May 14, 2020, 2:15pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/2 "2020-05-14T14:15:48Z")

</div>

I’m also curious about the same issue. I was seeing latency closer to 12-15 seconds when viewing the stream embedded on my personal website. I also need the stream to be as close to real time as possible. Sub 2 seconds. I’m using a Teradek VidiuGo to encode the stream.

---

<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:** [May 13, 2020, 8:19pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/3 "2020-05-13T20:19:41Z")

</div>

You need to select low latency streaming in Wowza Cloud manager when you set up a new stream. The defaults are around 30 seconds but if you click “Yes, create an HLS low latency stream” it’ll get the chunk size down to about 6 seconds latency.

The Streaming Cloud workflow is WebRTC ingest and we transmux it for HLS playback. For one second streaming, you are referring to WebRTC ingest and WebRTC playback which is available in Streaming Engine, not Cloud. Cloud is not WebRTC playback.

---

<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:** [May 13, 2020, 8:23pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/4 "2020-05-13T20:23:53Z")

</div>

Also, make sure you have Adaptive bitrate selected. For **Live Stream Type** , select **Adaptive bitrate**. **Passthrough** audio streams aren’t available for WebRTC in Cloud.

---

<div class="post-metadata">

**Author:** ![Bohdan\_Klochko](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bohdan\_Klochko](https://community.wowza.com/u/Bohdan_Klochko)\
**Post date:** [May 14, 2020, 7:17am UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/5 "2020-05-14T07:17:54Z")

</div>

Thanks for your help, Rose. It really helps!

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [May 14, 2020, 2:41pm UTC](https://community.wowza.com/t/webrtc-high-latency-sound-issues/55165/6 "2020-05-14T14:41:03Z")

</div>

Rich, did you follow Rose’s guidance below and see difference?
