Wowza Community

API to know if stream file is running

Hi,

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?

Thanks,

Shrini

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?

Michelle