# Wowza Streaming stucks when sending parallel broadcast to server

**URL:** <https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138>\
**Category:** Wowza GoCoder SDK\
**Created:** [October 15, 2018, 3:46pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138 "2018-10-15T15:46:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Zabihullah](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Muhammad\_Zabihullah](https://community.wowza.com/u/Muhammad_Zabihullah)\
**Post date:** [October 15, 2018, 3:46pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/1 "2018-10-15T15:46:15Z")

</div>

Hi, I am integrating WOWZA Framework in my app for live streaming and to broadcast audio on my server. Now When I play live streaming like `[self.player play :videoConfig callback: self]`. Live streaming play fine, but if I start broadcasting audio along with video streaming being played, audio gets publish on the server but live streaming stucks, and I get this message in console.

**ran out of available bytes on Circular Buffer or hit maxSampleLatencyCount**

---

<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:** [October 15, 2018, 10:39pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/2 "2018-10-15T22:39:40Z")

</div>

Can I clarify you are using the SDK with Wowza Streaming Engine @Muhammad Zabihullah? Which SDK is this? iOS or Android and also what version please? Thank you.

---

<div class="post-metadata">

**Author:** ![Muhammad\_Zabihullah](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Muhammad\_Zabihullah](https://community.wowza.com/u/Muhammad_Zabihullah)\
**Post date:** [October 16, 2018, 6:38am UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/3 "2018-10-16T06:38:03Z")

</div>

Hi [@Rose Power](http://community.wowza.com/community/questions/49372/wowza-streaming-stucks-when-sending-parallel-broad.html?childToView=49387#) ,

we are using trial version.  
we are using Wowza SDK with Wowza Streaming Engine.  
we are using iOS/android SDK.  
we are using version 1.5.1

In android after getting this error , we upgraded version from 1.5.0 to 1.6.0, but still it didn’t solve our problem.

---

<div class="post-metadata">

**Author:** ![Muhammad\_Zabihullah](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Muhammad\_Zabihullah](https://community.wowza.com/u/Muhammad_Zabihullah)\
**Post date:** [October 16, 2018, 6:41am UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/4 "2018-10-16T06:41:16Z")

</div>

Here are the android logs

E/MediaCodec: getBufferAndFormat - invalid operation (the index 2 is not owned by client) E/MediaCodec: getBufferAndFormat - invalid operation (the index 3 is not owned by client) E/MediaCodec: getBufferAndFormat - invalid operation (the index 0 is not owned by client) E/MediaCodec: getBufferAndFormat - invalid operation (the index 1 is not owned by client) I/APP\_ID: Background concurrent copying GC freed 85438(2MB) AllocSpace objects, 55(4MB) LOS objects, 49% free, 4MB/8MB, paused 152us total 161.649ms

---

<div class="post-metadata">

**Author:** ![Muhammad\_Zabihullah](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Muhammad\_Zabihullah](https://community.wowza.com/u/Muhammad_Zabihullah)\
**Post date:** [October 16, 2018, 12:28pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/5 "2018-10-16T12:28:07Z")

</div>

Furthermore, @Rose Power , We tried a different thing today, We just perform the exact scenario on your sample App, It gave me the same message **ran out of available bytes on Circular Buffer or hit maxSampleLatencyCount** and then crashed after sometime by saying **Terminated due to memory Issue.**

---

<div class="post-metadata">

**Author:** ![Muhammad\_Zabihullah](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Muhammad\_Zabihullah](https://community.wowza.com/u/Muhammad_Zabihullah)\
**Post date:** [October 18, 2018, 12:37pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/6 "2018-10-18T12:37:03Z")

</div>

With android, If we remove bitrate and audiosample rate from config. it works fine but by doing so, we don’t get audio on receiving end, but gets published.

---

<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:** [October 25, 2018, 8:06pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/7 "2018-10-25T20:06:03Z")

</div>

Hello @Muhammad Zabihullah, my apologies for no response to your question, I was out of town for a work event. We are working to assist you with your question and I will reaching out to you again very soon. Thanks for your patience and understanding.

---

<div class="post-metadata">

**Author:** ![Zabih\_Ullah](https://avatars.discourse-cdn.com/v4/letter/z/53a042/32.png) [@Zabih\_Ullah](https://community.wowza.com/u/Zabih_Ullah)\
**Post date:** [November 2, 2018, 1:35pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/8 "2018-11-02T13:35:15Z")

</div>

Hello Rose  
Any updates Regarding this issue ?

---

<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:** [November 2, 2018, 3:31pm UTC](https://community.wowza.com/t/wowza-streaming-stucks-when-sending-parallel-broadcast-to-server/52138/9 "2018-11-02T15:31:05Z")

</div>

Hello @Zabih Ullah, I checked the tech support ticket that was submitted by this user and there were several attempts to reach out to get the info to test the error. There was no response by the customer.,

If any of you are experiencing the same issue, please submit support ticket so tech support can run some diagnostics. I’m sorry I don’t have any way of updating you on this until then.
