Wowza Community

API to know if stream file is running


I want to know the status of stream file whether it is running and streaming before I call appInstance.start/stopMediaCasterStream.

What method/property can I use to get the status?



Hi sshastri,

There is a method isStreamIsRunning in the IMediaCaster class, which returns a boolean value of whether a stream is currently running. However, you would need to initialize the media caster. I am not sure if this is what you were referring to?