Re: [ecasound] Network streaming with ecssound

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Network streaming with ecssound
From: Ronald L. Jolly (ronjolly_AT_hiwaay.net)
Date: Thu Feb 27 2003 - 02:12:26 EET


Quoting Kai Vehmanen <k_AT_eca.cx>:

Latency is not a critical factor in my application. It could be delayed by
many multiple of seconds of time and it would not affect my requirements.
Since the hardware envirnoment is a single client to a single server,
I am not affected by routers, bridges etc and I am able to set the
network to full duplex. So as it sounds if my environment is simple, I
will take a look at RTP and any other place where in the code anyone would
suggest.
Thanks
Ron

> On Tue, 25 Feb 2003, Ronald L. Jolly wrote:
>
> > The requirement is to send the raw PCM data as it is being
> processed/recorded
> > from the sound card and send the data using TCP/IP to another Linux
> node.
>
> The critical question is: is latency a critical factor?
>
> If not, then adding transmission and reception of audio over TCP is
> really
> simple. If yes, then things get complicated. Low-latency audio+network
> requires not only careful audio handling, but also very intelligent
> network side handling. At this point I don't want to take ecasound to
> that
> direction.
>
> > I have written BSD sockets applications, and thought that I might be
> able to
> > stream the data via UDP to another node. Any ideas on where in
> Ecasound to do
> > this?
>
> Stepping from TCP to UDP is the first difficult part. This step is
> needed
> to allow low latencies (TCP can never deliver this), but with UDP you
> have
> to manage transmission rates (unlike with TCP, if you send too fast
> with
> UDP, packets will be lost), retransmissions, packet reordering, packet
> losses and so on. A good start is to look at RTP (doesn't really solve
> anything by itself, but provides a good framework for the actual
> work/solutions).
>
> This stuff is not impossible, but is not really close to ecasound's
> core
> functionality. And ok, to be completely honest about this, I don't want
> to
> get involved too deeply in any kind of network-related stuff in FOSS
> (free-and-open-source) projects because of my daytime job (which is
> network related). But, but, of course I gladly accept patches if
> someone
> else does the work. :)
>
> --
> http://www.eca.cx
> Audio software for Linux!
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
>

Ron Jolly


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Feb 27 2003 - 02:03:03 EET