# Stream Timeout on Pause (HTTP Cupertino)

**URL:** https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130
**Category:** Wowza Streaming Engine
**Created:** [February 6, 2011, 6:46pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130 "2011-02-06T18:46:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Nikita\_Sukhin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nikita\_Sukhin](https://community.wowza.com/u/Nikita_Sukhin)
#### Post date: [February 6, 2011, 6:46pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/1 "2011-02-06T18:46:42Z")

</div>

Hello,

It appears that when HTTP Cupertino Stream (via iPad or iPhone) is paused, it can only be resumed within a minute or so (before app-stop event). Once “app-stop” is logged, an attempt to resume the stream simply restarts it from the beginning.

Is there a configuration option(s) where this can be adjusted so that playback continues after 2-3-5 minute pause, etc.

Thank you in advance!

-EMGVOD

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [February 7, 2011, 1:17pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/2 "2011-02-07T13:17:06Z")

</div>

You can try setting /conf/[app-name]/Application.xml /ApplicationTimeout to “0” so the app-stop event does not happen.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [February 8, 2011, 12:50pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/3 "2011-02-08T12:50:53Z")

</div>

I think this is a limitation of iOS.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [July 26, 2011, 4:42pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/4 "2011-07-26T16:42:44Z")

</div>

Take a look at:

[https://www.wowza.com/docs/how-to-use-a-server-listener-to-load-and-lock-an-appinstance-serverlistenerloadandlockappinstances](https://www.wowza.com/docs/how-to-use-a-server-listener-to-load-and-lock-an-appinstance-serverlistenerloadandlockappinstances)

Richard

---

<div class="post-metadata">

### Author: ![Nikita\_Sukhin](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nikita\_Sukhin](https://community.wowza.com/u/Nikita_Sukhin)
#### Post date: [February 7, 2011, 8:57pm UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/5 "2011-02-07T20:57:33Z")

</div>

Thanks, Richard!

Permanently preventing app-stop is probably not a good idead. We did try changing Application Timeout parameter in the conf/VHost.xml, which actually delayed app-stop by whatever we set it to be.

However, itturns out that even with app-stop not firing, the stream keeps restarting after about 60-90 seconds paused.

Any other way to preserve a “true” pause?

Thanks again,

-emgvod

---

<div class="post-metadata">

### Author: ![Fredrik\_Widlund](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@Fredrik\_Widlund](https://community.wowza.com/u/Fredrik_Widlund)
#### Post date: [July 26, 2011, 7:01am UTC](https://community.wowza.com/t/stream-timeout-on-pause-http-cupertino/35130/6 "2011-07-26T07:01:48Z")

</div>

I have the same problem, but it does not seem to be due to iOS. I’ve also set the application timeout to zero but there is a “cupertino” object that timeouts and after this the .ts segment result in 404.

INFO cupertino connect 1289314055 -

INFO stream create sample -

[…]

INFO stream destroy sample -

INFO cupertino disconnect 1289314055 -
