# Configure MediaCaster on-demand timeout

**URL:** <https://community.wowza.com/t/configure-mediacaster-on-demand-timeout/46307>\
**Category:** Wowza Streaming Engine\
**Created:** [December 3, 2015, 5:46am UTC](https://community.wowza.com/t/configure-mediacaster-on-demand-timeout/46307 "2015-12-03T05:46:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil\_Keeling](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@Phil\_Keeling](https://community.wowza.com/u/Phil_Keeling)\
**Post date:** [December 3, 2015, 5:46am UTC](https://community.wowza.com/t/configure-mediacaster-on-demand-timeout/46307/1 "2015-12-03T05:46:15Z")

</div>

Reading the user guide section on MediaCaster:

> This system works on demand—when the first request is received from a player for a given stream, a connection is made to the source stream and the stream is then made available to the player. **When the last player stops watching the stream, the MediaCaster system waits for a timeout period. If no other players request the stream, the stream is stopped and isn’t available for streaming until another request is made.**

Is it possible to configure this timeout period? From my testing, it seems to stop streaming from the source after only a few seconds. I would like to extend it to a larger timeout interval.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [January 6, 2016, 8:10am UTC](https://community.wowza.com/t/configure-mediacaster-on-demand-timeout/46307/2 "2016-01-06T08:10:56Z")

</div>

Hello there and welcome to the Wowza support forum.

It sounds like you are using a StreamType of “rtp-live”? You can use StreamType “live” then start the stream with MediaCaster system (stream files page in Manager) to lock the stream open, not dependent on player connections.

Application.xml /StreamValidator section has the settings for MediaCaster streams, including timeout.

That probably also affects the player initiated connection, but not positive. best thing is to use streamType live and MediaCaster system to start streams.

Regards,

Salvadore
