Author Topic: Icecast Listeners Stats  (Read 64 times)

hub73

  • Posts: 85
Icecast Listeners Stats
« on: 8 Jan '23 - 11:05 »
Hello.
Is there a method to return Icecast Listeners Stats (IP, Sec. connected, User Agent) with BASS ?
Many thanks.

Chris

  • Posts: 2105
Re: Icecast Listeners Stats
« Reply #1 on: 8 Jan '23 - 13:05 »
Hi, not with bass, but you can rip the needed Infos from the *.xls Stats directly from the Icecast-(Web)server.
e.g  https://icecast-server.xxx:8000//admin/stats.xsl?

hub73

  • Posts: 85
Re: Icecast Listeners Stats
« Reply #2 on: 8 Jan '23 - 19:46 »
Thanks Chris.
« Last Edit: 8 Jan '23 - 20:01 by hub73 »

Ian @ un4seen

  • Administrator
  • Posts: 24797
Re: Icecast Listeners Stats
« Reply #3 on: 9 Jan '23 - 12:23 »
A list of the connected clients is available from BASS_Encode_CastGetStats with type=BASS_ENCODE_STATS_ICE. That gives you an XML document containing a "listener" section for each connected client, as well as a "Listeners" section containing the number of clients.