Wowza Community

Bash script to test stream

Anybody have ideas for how to write a bash script to test if a stream is alive or up?

-Mac

Maybe this is what you’re looking for?:

How-to-automatically-check-if-the-Wowza-service-is-up-and-running-and-streaming

There are some issues with that approach, such as bandwidth, and/or notification latency. Probably a custom Wowza module that would monitor the stream on the server side would be the best way to deal with problem streams.

For example, this IMediaStreamActionNotify2 example will report when a stream appears stalled.