My understanding is that there is no need to explicitly call a method on appInstance to actually start the app (there is a shutdown but not a start method in the API) and that it will restart when a client attempts to connect. However I am getting a stream not found when attempting to connect after a shutdown. I then have to ssh into the instance and call restart on the Wowza process to get the stream working again.
Am I missing a restart equivalent in the API, or is there something else I'm missing? Here is what I'm doing to shutdown: