Wowza Community

Settring custom properties while my module is running

Hi Guys,

I have an application that uses getProperties(), e.g. appInstance.getProperties();

I set a custom property via the REST API or in the manager. However my call to appInstance.getProperties returns the value from when the application was first started. So if I restart wowza then appInstance.getProperties() returns the correct value.

Is there a way to get the updated custom property value from inside a custom module?

Hi,

You normally need to restart on an application-level (not necessarily on a VHost, Server, or even service-level) in order for the new properties to be recognized. There is also a REST API method in restarting the application.

Michelle