# Persistent streaming

**URL:** <https://community.wowza.com/t/persistent-streaming/43006>\
**Category:** Wowza Streaming Engine\
**Created:** [May 26, 2014, 2:19pm UTC](https://community.wowza.com/t/persistent-streaming/43006 "2014-05-26T14:19:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Fiebig](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Andreas\_Fiebig](https://community.wowza.com/u/Andreas_Fiebig)\
**Post date:** [May 26, 2014, 2:19pm UTC](https://community.wowza.com/t/persistent-streaming/43006/1 "2014-05-26T14:19:07Z")

</div>

Hello together,

if the stream TO the server stops temporarily (only for a few seconds) over a 3G mobile connection, the client connections over JWPlayer get lost.

What is the best practice to keep client connections up if my origin-stream interrupts?

I thought to lead the stream via a stable connection to the server, maybe over a restream-machanism?

Example:

Mobile 3G Connection -\> Homebase with leasedline -\> Wowza-Server.

Am I right?

Regards,

Andreas.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [May 26, 2014, 10:50pm UTC](https://community.wowza.com/t/persistent-streaming/43006/2 "2014-05-26T22:50:04Z")

</div>

Hello,

Using the scenario you described, there is still a possibility that the connection between your mobile 3G connection and the Homebase will be interrupted and the stream to your Wowza server would get disconnected.

My advice would to use “ModuleLoopUntilLive” to create a server-side stream, and to loop another video as a filler video in place of a live stream that isn’t available. Please take a look at the [How to loop a pre-roll until a live stream starts (ModuleLoopUntilLive)](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive) forum article for a detailed description on how to set it up.

Zoran

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [May 27, 2014, 5:27pm UTC](https://community.wowza.com/t/persistent-streaming/43006/3 "2014-05-27T17:27:00Z")

</div>

Hello,

The ModuleLoopUntilLive is part of the [Modules collection](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software) package. This module is already compiled and you don’t need Java coding skills to set it up.

Just follow the instructions form the article I mentioned earlier and if you have any troubles, just drop us a message or write to support@wowza.com with the description of what you are trying to achieve and what isn’t working for you.

Zoran

---

<div class="post-metadata">

**Author:** ![Andreas\_Fiebig](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Andreas\_Fiebig](https://community.wowza.com/u/Andreas_Fiebig)\
**Post date:** [May 27, 2014, 9:02am UTC](https://community.wowza.com/t/persistent-streaming/43006/4 "2014-05-27T09:02:13Z")

</div>

Hi Zoran,

thank you for your good hint.

I read the documentation and some of the comments to the module.

Iam not sure if this module will work out of the box with a transcoded stream, someone in the comments metioned something about problems with transcoded streams. Unfortunately I have no java or programming skills to extend the example.

Andreas
