[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] icecast; yet another guile question
From: |
Raimund 'Raimi' Jacob |
Subject: |
Re: [dev-serveez] icecast; yet another guile question |
Date: |
Sun, 26 May 2002 17:53:00 +0200 (CEST) |
On Fri, 24 May 2002, stefan wrote:
hi!
> the CVS now contains one more guile server - a simplified
> icecast-compatible server. Can you please play around with it and tell me
> how to improve it; or even bug-fix it?
>
> You may try something like this for a voice-over-ip-setup:
>
> $ mkfifo voip.mp3
> $ sox -t ossdsp -w -s /dev/audio -t wav - | lame -a -f -b 32 - > voip.mp3
>
> Then start the icecast server. The client maybe xmms:
>
> $ xmms http://host:8000
>
> Is this setup possible? I could not test it (no alsa; for concurrent
> i/o).
i tested it: it does not quite work. there is a case in which it works:
- create pipe
- start serveez
- start client programm (it does not yet receive data)
- start sox/lame
this way the client receives a valid mp3 header and works as expected. if
the client connects at arbitrary time it sees just bit-junk (no mp3
header) and wont play anything.
bottom line: the .scm file is no real icecast server, sorry...
(btw.: icecast also includes file names and i believe arbitrary data
inside the mpg stream...)
Bye,
Raimi
--
__/\ _/\ _____/\.___/\
/ / / /___/ ____/ __/\ Name : Raimi
/ / __/ __/ / __/ / _\/ Contact : address@hidden
/ /__/ / \/ /_/_/ /_/ Visit : http://www.lkcc.org
/________/___/\._\._____/_____/\ 3.141592653589793238462643383
\._______\.__\/__/\.____\.____\/ 27950288419716939937510582097