[icecast-dev] separate source and client ports
Michael Smith
msmith at labyrinth.net.au
Tue Aug 13 05:03:46 PDT 2002
At 01:52 PM 8/13/02 +0200, you wrote:
>
>Hi,
>
>The question I have is regarding separated ports for client and source connections. Let me explain.
>
>Since a short while I have been successfully testing icecast and ogg for live broadcasts. Now I am building a website around it, which of course I want to be dynamically generated on the fact whether there is a live broadcast or not.
>
>The easy way I want to do that is to check for connections on the given port in the icecast configuration file. Basically this works fine. If there is at least one connection on that port, there must be a source connected, hence a broadcast.
Why don't you just ask icecast whether it has any source connections?
You can do this by requesting /stats.xml from the server, and parsing
that.
MUCH easier than adding multiple port support.
Mike
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast-dev
mailing list