I need a javascript or php script which will detect whether or not I'm broadcasting and redirect to a page based on the result.
Something like this ...
1) Visitor goes to my site
2) Index page has a javascript or php script
3) The script checks to see "is he broadcasting?"
4) if he is ... go to page yada
5) otherwise, go to page bada-bing
Currently, I've been using something called Lite.pm but it only works by asking for rtsp info.
I've had much difficulty making it work, so I'm hoping others have attempted what I'm after with more success.
P.s. Before you ask "but why would you want to?" ... please understand that such information doesn't matter in reference to the solution.
Something like this ...
1) Visitor goes to my site
2) Index page has a javascript or php script
3) The script checks to see "is he broadcasting?"
4) if he is ... go to page yada
5) otherwise, go to page bada-bing
Currently, I've been using something called Lite.pm but it only works by asking for rtsp info.
I've had much difficulty making it work, so I'm hoping others have attempted what I'm after with more success.
P.s. Before you ask "but why would you want to?" ... please understand that such information doesn't matter in reference to the solution.
Comment