I would like a script to be created to run checks on either html or php page with flash media players.
there will be audio and video on each stream.
The system i have, when the stream is down, there will still be video playing but without audio, (error message) will be shown.
I need the script, to keep checking the pages on a frequent basis, then send an email to webmaster.
If there is no audio, then of course my stream will have a problem, and i would like the email to be sent.
A little snag, i have a auto refresh feature of my stream, every 30 mins, the stream auto refreshes to resolve any issues, this in theory resolves any crashed streams, however when this does not work, the error message will continue to be shown until the stream is physically restarted.
Example Working - every 30 mins, the audio will have 2 - 15 seconds mute while the stream reloads, usually 2-3 seconds.
Example Problem - After 15 seconds, if there is still no audio, then the stream will not have loaded up correctly and there will be a problem which needs to be resolved.
When this happens, that is when i would like the email to be sent to me, not every 30 mins during a stream reload.
I would like a script to check the stream for 30 seconds, if there is no audio for all of that 30 seconds then i would like the email to be sent, however if there is audio on it, no email, and i would like the check to be performed every few minutes, if not every minute.
Happy bidding all.