[Icecast] on-disconnect -> streamtranscoderv3 (linux server)
karl at xiph.org
Tue Apr 11 13:19:42 PDT 2006
> so far I'm very happy that I have running an icecast server with
> streamtranscoder which autimatically transcodes a certein mountpoit
> (ogg-high-quality) to low, mid and high mp3 stream on-connect.
> but I'm stuck with two problems:
> 1. how to determine which stramtranscoderv3 process is reencoding this
> particular stream? because doing <on-disconnect> just
> # killall streamTranscoderv3
> is not useful, when other streams are also reencoded on this server.
> Maybe its totally easy, but I see no posibility so far, any hints?
when you start streamtranscoder, store the pid in a file that the
disconnect script knows about. Both scripts are passed the mountpoint
as the arg so you can use that to refer to a pid file.
More information about the Icecast