# ServerListenerStartupStreamsMonitor file content changes

**URL:** <https://community.wowza.com/t/serverlistenerstartupstreamsmonitor-file-content-changes/39677>\
**Category:** Wowza Streaming Engine\
**Created:** [May 21, 2014, 10:42am UTC](https://community.wowza.com/t/serverlistenerstartupstreamsmonitor-file-content-changes/39677 "2014-05-21T10:42:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Shmayev](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@Sam\_Shmayev](https://community.wowza.com/u/Sam_Shmayev)\
**Post date:** [May 21, 2014, 10:42am UTC](https://community.wowza.com/t/serverlistenerstartupstreamsmonitor-file-content-changes/39677/1 "2014-05-21T10:42:14Z")

</div>

Hi,

**Task: Change uri inside a stream file without any changing of stream file name.**

Changes are done from the code no manually!

Assume we have file:

a.stream

It’s content:

```auto
{ "uri": "rtsp://192.168.10.124:554/stream"}

```

Assume we need just to change a uri of the file:

from

```auto
{ "uri": "rtsp://192.168.10.124:554/stream"}

```

to

```auto
{ "uri": "rtsp://[B]192.168.11.100[/B]:554/stream"}

```

But a name of the stream file should be a.stream

Currently ServerListenerStartupStreamsMonitor doesn’t see changes of the file.

It just checks a file name.

More over.

If we delete/add a file with the same name from the code (Java/C/…)

ServerListenerStartupStreamsMonitor also doesn’t see changes!

Any ideas appreciated.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [May 21, 2014, 12:03pm UTC](https://community.wowza.com/t/serverlistenerstartupstreamsmonitor-file-content-changes/39677/2 "2014-05-21T12:03:45Z")

</div>

Hi,

I don’t think the ServerListenerStartupStreamsMonitor was indented to work with the above scenario and given this requirement I believe your only option is to write some custom code to achieve this goal.

The custom code would need to be able to detect changes, possible by checking the time the file was last modified.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Sam\_Shmayev](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@Sam\_Shmayev](https://community.wowza.com/u/Sam_Shmayev)\
**Post date:** [May 21, 2014, 3:46pm UTC](https://community.wowza.com/t/serverlistenerstartupstreamsmonitor-file-content-changes/39677/3 "2014-05-21T15:46:53Z")

</div>

Ok. Thanks
