# Trying to setup an automatic fallback system

**URL:** <https://community.wowza.com/t/trying-to-setup-an-automatic-fallback-system/102635>\
**Category:** Wowza Streaming Engine\
**Created:** [May 2, 2025, 11:13am UTC](https://community.wowza.com/t/trying-to-setup-an-automatic-fallback-system/102635 "2025-05-02T11:13:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![settoreinformatico.s](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@settoreinformatico.s](https://community.wowza.com/u/settoreinformatico.s)\
**Post date:** [May 2, 2025, 11:13am UTC](https://community.wowza.com/t/trying-to-setup-an-automatic-fallback-system/102635/1 "2025-05-02T11:13:57Z")

</div>

Hi all, I’m trying to setup an automatic fallback system so that when my encoder stops, wowza automatically replaces the live stream with a vod file in /content; to do this I made an application named liveInputApp (type Live Single Server) and I used in my application.xml:

 true evento evento\_live,mp4:evento\_fallback.mp4@vodFallbackApp 

and I’ve configured a VOD application named vodFallbackApp. If I call wowzaip:1935//liveInputApp/evento\_live/playlist.m3u8 (when the encoder send stream) or if I call wowzaip:1935/vodFallbackApp/mp4:eventofallback.mp4/playlist.m3u8 all the streaming work fine, but if I call wowzaip:1935/liveInputApp/evento/playlist.m3u8 it don’t works.  
I expected that wowza would create a virtual publishing point called event and hook to it if available live\_event otherwise the file eventfallback.mp4; in the log file wowza records that the event stream does not exist. Is there a way to do this?  
Thanks to anyone who can help me do this.  
Andrea

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [May 5, 2025, 12:28pm UTC](https://community.wowza.com/t/trying-to-setup-an-automatic-fallback-system/102635/2 "2025-05-05T12:28:30Z")

</div>

Hi Andrea,

Welcome to to Wowza Community forums.  
If you just need a VOD asset to playback if there is no live stream, you can use a module for this.  
The details for setting it up and using it are outlined here:

> **[Loop a pre-roll until a live stream starts](https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive)**
>
> Use the LoopUntilLive Wowza Streaming Engine Java module to configure a pre-roll video to play before a live stream starts and after it ends.

Main thing to consider is to make sure the encoding codec and resolution are the same in the live stream and VOD content for the fallback system to look professional.

Regards,  
Alex C  
Wowza Support

---

<div class="post-metadata">

**Author:** ![settoreinformatico.s](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@settoreinformatico.s](https://community.wowza.com/u/settoreinformatico.s)\
**Post date:** [May 8, 2025, 2:32pm UTC](https://community.wowza.com/t/trying-to-setup-an-automatic-fallback-system/102635/3 "2025-05-08T14:32:56Z")

</div>

Hi Alex, thanks for your tip; sorry for the delay in replying but I haven’t been well physically. I’ve correctly configured wowza for use a pre-roll video and it works fine. Now I’m trying to configure wowza so that given two incoming live streams it returns one when the other is unavailable. Can you recommend me some documentation to study?
