[Icecast] icecast 2.4 check if source exists?

uno un at dom.de
Fri Jun 6 13:08:58 UTC 2014


... to answer myself: 

i had a fallback-mount specified, after removing it
things work as expected. sorry for the noise.

btw: what's the prefered way to get server and/or listener info?

for example, within a script (php / curl), i use
http://127.0.0.1:8000/admin/listclients?mount=/mymount
for getting info on listeners 

is there a better way / api?

thanks, u.












uno:
> 
> hello,
> 
> i've upgraded to 2.4. in order to use url-auth etc.
> works fine, but now i have a problem:
> 
> i've to check if a source exists. i did so by fetching
> headers for a mountpoint, example 
> 
> wget -S http://server:8000/test
> 
> if a mountpoint existed in icecast 2.3.2 (my previous version),
> it returned something like "200 OK", when a source was connected.
> 
> now in 2.4. it always returns 200 OK, means the stream at this 
> mountpoint exists, whether a source is connected or not.
> 
> how can i check (programatically) if a source / active mount 
> exists or not?
> 
> thx, uno
> 
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast



More information about the Icecast mailing list