[Icecast] Event Triggers on 2.5 beta1

"Thomas B. Rücker" thomas at ruecker.fi
Tue Apr 7 11:19:28 UTC 2015


On 03/18/2015 07:41 AM, Robert Stanford wrote:
>> Icecast streams don't have a notion of "pause", what do you mean by that?
>>
>> Cheers
>>
>> Thomas
> I’m trying to trigger a URL event so that I can log listener statistics using an API.
> I’m currently using listener authentication to track listener_add and listener_remove,
> but using this method I seem to get a lot of spurious entries. So I wondered if events
> would offer a more reliable way to track when a listener is actually playing a stream?

Hmm, not so sure. Haven't run this for quite a while on a production system.
There may be lots of noise due to clients making several requests to
figure things out before then staying connected.
Filtering for duration might help here. Any particular problems you're
having?

To answer your other question, currently we only define two event triggers:
source-connect
source-disconnect

In the near future we'll be adding more. Please join the discussion here:
https://trac.xiph.org/ticket/2189#ticket


Cheers

Thomas




More information about the Icecast mailing list