# Controlling when a stream file is active

**URL:** <https://community.wowza.com/t/controlling-when-a-stream-file-is-active/95518>\
**Category:** Wowza Streaming Engine\
**Created:** [October 14, 2022, 7:53pm UTC](https://community.wowza.com/t/controlling-when-a-stream-file-is-active/95518 "2022-10-14T19:53:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Van\_Slambrou](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Michael\_Van\_Slambrou](https://community.wowza.com/u/Michael_Van_Slambrou)\
**Post date:** [October 14, 2022, 7:53pm UTC](https://community.wowza.com/t/controlling-when-a-stream-file-is-active/95518/1 "2022-10-14T19:53:30Z")

</div>

Hello,

I’m hoping to find a solution to this. I have multi cameras that are providing a rtmp stream which i’m using wowza via a stream file and liverepeater to push to other stream targets. These cameras will switch between live video and a splash screen when that are not live but the feed from the camera is constant. Is there a way to turn off the liverepeater when the camera switches to the splash screen and then turn back on when the camera goes live?

Or is there a way via wowza to schedule when select stream targets are enabled? or when select stream files are enabled ?

Also just to clarify i’m using Wowza Streaming Engine On-Premise

Thank You for your help

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [October 14, 2022, 9:08pm UTC](https://community.wowza.com/t/controlling-when-a-stream-file-is-active/95518/2 "2022-10-14T21:08:58Z")

</div>

Take a look at the Wowza REST API for managing stream targets. You can use the REST API calls via scheduler/cron or other workflows to enable/disable stream targets. For whatever reason it wont let me post wowza rest API URL here.

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [October 14, 2022, 9:11pm UTC](https://community.wowza.com/t/controlling-when-a-stream-file-is-active/95518/3 "2022-10-14T21:11:26Z")

</div>

![Untitled](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/d/d7942395631fc2bf049629ef37ab185ec02c290d.png)
