Subject: Re: [ecasound] Network streaming with ecssound
From: Kai Vehmanen (k_AT_eca.cx)
Date: Thu Feb 27 2003 - 02:16:25 EET
On Tue, 25 Feb 2003, smoerk wrote:
> 3. as externel program which connects to ecasound via stdin/stdout
Actually this is quite easy to do:
console/machine1:
ecasound -i foo.wav -o stdout |nc -v -u localhost 10000
console/machine2:
nc -v -l -p 10000 localhost |ecasound -i stdin -o alsa
.. and that's it - TCP-streaming though the local interface. Replace
'localhost' with real hostnames (and 10000 with some other port number) if
you want to try this on separate machines.
The 'nc' program is netcat, like cat but for network... network-cat! :)
I think it nowadays comes with rh8.0. In any case an excellent util for
all kinds of network-related experiments. It has a freshmeat page at
http://freshmeat.net/projects/netcat/?topic_id=150
Btw; if you want to experience the difficulties of TCP-to-UDP
transition yourself, try adding "-u" parameter to the above
netcat commands and see what happens... ;)
-- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Thu Feb 27 2003 - 02:09:08 EET