Wowza Community

RTMP stream alive check

Is there a way to check if live stream is alive aside manual pressing play on the web player?

What I need is a way to check if stream is alive and if not be able to run certain actions, like .bat script or such.

Thanks

Take a look at connectioncounts HTTProvider:

https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics

Richard

Thanks for the info, but I dont really understant how this can help me?

The counter will tell you if a stream is up and running, if it is there then you can assume people are connected.

To truely tell if a stream is running you would need to pull packets out of the stream, check their timestamps to check that it is increasing, thus new data is being made available to the stream.

Not too difficult, but will take time to put together.

Shamrock

In ActionScript you can also poll stream.time and check that it is increasing.