# StartupStreamsMonitor

**URL:** <https://community.wowza.com/t/startupstreamsmonitor/34889>\
**Category:** Wowza Streaming Engine\
**Created:** [April 20, 2014, 8:53pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889 "2014-04-20T20:53:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick\_Hall](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Rick\_Hall](https://community.wowza.com/u/Rick_Hall)\
**Post date:** [April 20, 2014, 8:53pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/1 "2014-04-20T20:53:31Z")

</div>

In Wowza version 3, I could use something called “StartupStreamsMonitor” where when I added a stream file to a specific directory for an application, Wowza would start streaming it and when I deleted the file, Wowza would stop streaming it. Below is the thread for setting this up in Wowza Version 3:

[https://www.wowza.com/docs/how-to-monitor-content-folder-for-sdp-and-stream-files-to-start-publishing-streams-serverlistenerstartupstreamsmonitor](https://www.wowza.com/docs/how-to-monitor-content-folder-for-sdp-and-stream-files-to-start-publishing-streams-serverlistenerstartupstreamsmonitor)

How do I do this in Wowza version 4?

Thanks,

Rick

---

<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:** [April 21, 2014, 3:51pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/2 "2014-04-21T15:51:13Z")

</div>

Hi there, I played around with this for a bit and you can still enable this ServerListener via the Server.xml file as before. Alternatively you can enable it through the UI.

See this guide for adding ServerListeners and Properties via the UI:

[Configuring server listeners](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#configListeners)

[Configuring properties](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#configProperties)

Salvadore

---

<div class="post-metadata">

**Author:** ![Rick\_Hall](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Rick\_Hall](https://community.wowza.com/u/Rick_Hall)\
**Post date:** [April 21, 2014, 4:17pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/3 "2014-04-21T16:17:51Z")

</div>

I added the values too and it still doesn’t work. Here’s what I did:

1. Under Server, in the tab “Server Listeners”, I added: com.wowza.wms.serverlistener.ServerListenerStartupStreamsMonitor

2. Under Server, in the tab “Properties”, I added:

**Path** --\> **Name** --\> **Value**

/Root/Server --\> startupStreamsMonitorApplicationList --\> Customcams\_Class5

/Root/Server --\> startupStreamsMonitorStreamPrefix --\> mp4

/Root/Server --\> startupStreamsMediaCasterType–\> rtp

/Root/Server --\> startupStreamsMonitorExtensionFilter --\> .stream

1. Under the CustomCams\_Calss5 “Application”, I added under Properties:

**Path** --\> **Name** --\> **Value**

/Root/Server --\> startupStreamsMonitorStreamPrefix --\> mp4

/Root/Server --\> startupStreamsMediaCasterType–\> rtp

/Root/Server --\> startupStreamsMonitorExtensionFilter --\> .stream

/Root/Server --\> securityPublishRequirePassword --\> true

It still doesn’t work. What am I missing?

---

<div class="post-metadata">

**Author:** ![Rick\_Hall](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Rick\_Hall](https://community.wowza.com/u/Rick_Hall)\
**Post date:** [April 21, 2014, 4:47pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/4 "2014-04-21T16:47:22Z")

</div>

Yes, I just restarted it again to make sure. Still no luck.

---

<div class="post-metadata">

**Author:** ![Rick\_Hall](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Rick\_Hall](https://community.wowza.com/u/Rick_Hall)\
**Post date:** [April 21, 2014, 4:48pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/5 "2014-04-21T16:48:27Z")

</div>

I spoke too soon. It’s working now. I guess I never restarted the server. Thanks for the help!

---

<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:** [April 21, 2014, 4:38pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/6 "2014-04-21T16:38:47Z")

</div>

Did you re-start the server after configuration?

Salvadore

---

<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:** [April 21, 2014, 4:50pm UTC](https://community.wowza.com/t/startupstreamsmonitor/34889/7 "2014-04-21T16:50:37Z")

</div>

Oh good! I am glad it is working for you now. Your welcome.

Salvadore
