[icecast] "Compound" outstream
gshang at pacific.net.au
Thu Apr 15 06:47:33 PDT 2004
On Thu, 15 Apr 2004, Eugen Melinte wrote:
> Is it possible to switch into an outstream a source depending on hour? For
> instance, I would like to offer an outstream which would re-transmit from
> 10 to 12 from source A and from 14 to 15 from source B, in the rest of the
> time from a playlist if nothing comes in from one priviledged source (e.g.
> soundcard's input).
Well, icecast will only send out what you send to it, and what you send to
it could be controled by at or cron, like any other process. But the
fallbacks support in the current icecast development code (post 2.0) may
help with this. It allows you to define a list of mountpoints in order of
priority, each one as a fallback for the one above it. So if mount A
disconnects, icecast would switch listeners to mount B, etc, and pull them
back to mount A when it is re-established. So you could have 3 or 4 levels
of priority and icecast would move listeners depending on what was
available at a given time.
Note that I've not actually tried out this code, but it is my intention to
do so in the near future as a project with which I am involved could
benefit from this.
<p>--- >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-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