Stream statistics (request listeners with API)

In our radio station we're using an icecast server with more mount points and video streams. That's why the integrated listeners statistics doesn't work at all.
Our radio owner programmed an API. A simple PHP file, that responses the number of listeners. See here.
I wish there would be an additional field to enter that API URL like on my mockup attached in near future.
 

Attachments

  • w1_001818.jpg
    w1_001818.jpg
    30.4 KB · Views: 310
You can collect global stats from Icecast (all mount points combined), in the password field specify admin:password (change "password" to the actual password). You can read more about it here: http://manual.djsoft.net/radioboss/en/statistic-relays.htm
 
We don't use Icecast Only - that API delievers listeners/viewers from out videostream and bittube, too. That's why that function doesn't work.Also I don't think our admin shares admin pass to a moderator.
 
vk1337 // Basti said:
We don't use Icecast Only - that API delievers listeners/viewers from out videostream and bittube, too. That's why that function doesn't work.Also I don't think our admin shares admin pass to a moderator.
Yes, for such cases the custom script would be a good solution. I think that should be something simple, e.g. returning only one number that is the number of the listeners. We'll consider adding this feature in the future versions, thank you for the suggestion.
 
djsoft said:
I think that should be something simple, e.g. returning only one number that is the number of the listeners.
This is exactly what our script does. Returning a simple sumber. See here: https://440hz.radio/api/listeners.php
djsoft said:
We'll consider adding this feature in the future versions
Would be great - thank you!
 
Back
Top