# Is it possible to keep the audio streaming alive when the iOS application is send to the background?

**URL:** <https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840>\
**Category:** Wowza GoCoder SDK\
**Created:** [August 21, 2018, 7:53pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840 "2018-08-21T19:53:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Eshuis](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jan\_Willem\_Eshuis](https://community.wowza.com/u/Jan_Willem_Eshuis)\
**Post date:** [August 21, 2018, 7:53pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/1 "2018-08-21T19:53:43Z")

</div>

We would like to enable audio playback in the background for our iOS application using the Wowza GoCoder SDK. Is this possible? And if so, how as i’m unable to find this in the documentation.

---

<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:** [August 21, 2018, 9:13pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/2 "2018-08-21T21:13:25Z")

</div>

Hello @Jan Willem Eshuis, in order to better assist you…would you be using GoCoder to stream through Wowza Streaming Engine or Streaming Cloud?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Eshuis](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jan\_Willem\_Eshuis](https://community.wowza.com/u/Jan_Willem_Eshuis)\
**Post date:** [August 22, 2018, 3:49pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/3 "2018-08-22T15:49:22Z")

</div>

Hi @Rose Power We are using the GoCoder player to playback a Low Latency Stream from our Wowza Cloud.

---

<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:** [August 22, 2018, 7:03pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/4 "2018-08-22T19:03:37Z")

</div>

@Jan Willem Eshuis for confirmation, you would like the audio to keep playing when the application is not active in the window…is that correct?

---

<div class="post-metadata">

**Author:** ![Timo\_Manders](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Timo\_Manders](https://community.wowza.com/u/Timo_Manders)\
**Post date:** [August 22, 2018, 7:21pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/5 "2018-08-22T19:21:08Z")

</div>

Yes, that’s correct

---

<div class="post-metadata">

**Author:** ![Timo\_Manders](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Timo\_Manders](https://community.wowza.com/u/Timo_Manders)\
**Post date:** [August 22, 2018, 7:21pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/6 "2018-08-22T19:21:41Z")

</div>

Yes, you are right.

---

<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:** [August 23, 2018, 7:19pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/7 "2018-08-23T19:19:45Z")

</div>

Hello @Jan Willem Eshuis, I see there is a support ticket for this. Are you getting the support you need?

---

<div class="post-metadata">

**Author:** ![Shaun\_Newsum](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Shaun\_Newsum](https://community.wowza.com/u/Shaun_Newsum)\
**Post date:** [September 29, 2018, 5:04pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/8 "2018-09-29T17:04:23Z")

</div>

Was there ever an answer for this? Having trouble getting the player to start back or even to keep going when the app goes into the background.

The Player.isPlaying == true when the app comes back into foreground but doesn’t recover and eventually crashes. I swear this was working a couple of weeks ago.

I see this over and over when I bring app back to foreground until it eventually crashes:

WowzaGoCoderSDK: Connected

Session state changed from HANDSHAKE\_SERVER0\_SENT to CLOSING

Session state changed from CLOSING to CLOSED

WowzaGoCoderSDK: Default socket buffer size: 131072 with err = 0

WowzaGoCoderSDK: Updated socket buffer size: 1024000 with err = 0 WowzaGoCoderSDK: WOWZPlayer: stream state: 1

---

<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 15, 2018, 11:37pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/9 "2018-11-15T23:37:09Z")

</div>

We currently don’t keep audio playback occurring in background when app is not in window.

---

<div class="post-metadata">

**Author:** ![nidhi\_jain](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nidhi\_jain](https://community.wowza.com/u/nidhi_jain)\
**Post date:** [September 10, 2019, 4:29pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/10 "2019-09-10T16:29:08Z")

</div>

hi @Rose Power-Wowza Community Manager , @Jan Willem Eshuis

I am using iOS Wowza sdk and I am not able to resume live streaming after coming from background to foreground. Please suggest

---

<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:** [September 16, 2019, 4:58pm UTC](https://community.wowza.com/t/is-it-possible-to-keep-the-audio-streaming-alive-when-the-ios-application-is-send-to-the-background/51840/11 "2019-09-16T16:58:40Z")

</div>

Please create a new forum question as this is a different question than the original post.
