On Tue, 4 Sep 2007 23:17:00 -0700 (PDT)
Pat Chang - 1973 <[EMAIL PROTECTED]> wrote:

> 
> Hi Friends,
> 
> We are planning to build a P2P audio / video, client / server
> application.
> 
> The question is:
> Here, since we are not sending data in blocks using session.write(),
> we need to stream the audio / video data as they arrive from the
> microphones. Taking the same chat example, would it be possible for
> us to build a P2P audio / video streaming client / server? What do
> you advise?
> 
> Pat

Hi,

If you write/read sound samples from a sound board, it will be in form
of a buffer of fixed length with "interlaced" channels
(mono,stereo,5.1,etc..) . So you can put those buffer in UDP packets,
it'll basically works if you are on a reliable (and fast) network. For
more advanced streaming you could take a look at protocols like RTP for
help you to deliver samples over UDP in orders.

Julien

P.S. : My main business is to write audio streaming devices/software, I
got a small device streaming voice over IP, with multicast capabilities
ready if you want :)

Reply via email to