Hello
at http://IP:8086/connectioncounts
I have good information about my shoutcast-relay streamings
an example
radio.stream
969
2
0
0
0
971
If I refresh page, stats change , so looks like if “live” stats
Now my question is:
at http://IP:8086/connectioncounts shows all my ( an example ) radio.stream
radio2.stream
radio3.stream
Stats
Exist a way that each radio.stream has a separate stats page or area?
Also exist way to have a dayly stats record for my radios.stream ( s ) ?
SOme of my customer requesting me way to see how many listenner has at a its radio
for example I can see how many connectios exist at radio.stream
radio.stream
969
2
0
0
0
971
But I wont give http://IP:8086/connectioncounts acess to each of my customer
At least wont give my admin.password
Thanks in advance for your ideas and help
Ed
The connectioncounts HTTPProvider is pretty basic. The source is here: https://www.wowza.com/docs/how-to-get-connection-counts-for-server-applications-application-instances-and-streams-with-an-http-provider
You’ll have to edit it in the Wowza IDE to add authentication. There are many ways to do it, but first you’ll want to download the IDE and figure out how to compile a module.
There are also several stats packages mentioned in the “Showcase” forum here. Search for Sawmill, Casterstats, Awstats.
There a few examples on this forum. Here is one:
Hi,
Here is a simple PHP code to retrieve number of listeners on your stream or connected user.
[PHP]
<?php
$xml_data=file_get_contents("http://YOURSERVERIP:8086/connectioncounts");
$doc = new DOMDocument();
$doc->loadXML($xml_data);
$wms = $doc->getElementsByTagName('WowzaMediaServer');
$currentlistener = $wms->item(0)->getElementsByTagName("ConnectionsCurrent")->item(0)->nodeValue;
$listenerhits = $wms->item(0)->getElementsByTagName("ConnectionsTotal")->item(0)->nodeValue;
echo "Curr…
Richard
Thanks for your reply
To be honest
THis “Basic information” is enough
problem is that all streams information are on there , so, I can look for a particular stream like: radio.stream. but if a customer want to see that?
I cant give access login details to a customer
Thanks why I was asking about any idea how to for example
http://ip:8086/connectioncounts/radio1.stream
and that this customer see this “basisc” stats
Regards
ed
a_a1
May 14, 2013, 9:19pm
6
Ed,
You will have to modify the source, which is here:
https://www.wowza.com/docs/how-to-get-connection-counts-for-server-applications-application-instances-and-streams-with-an-http-provider
Also take a look at this example to see how to parse querystring or post variables:
Create an HTTP provider
Richard
Can I get xml file from http://ip:8086/connectioncounts?flat to php for pot graph??
Thank.