Re: [Jack-Devel] How to use Jack in Windows as intermediate between an application and DarwinStreamingServer

PrevNext  Index
DateThu, 18 Aug 2011 15:02:37 +0200
From Graham Goode <[hidden] at gmail dot com>
ToMihai Cernea <[hidden] at it-sudparis dot eu>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToMihai Cernea [Jack-Devel] How to use Jack in Windows as intermediate between an application and DarwinStreamingServer
On 8/18/11, Mihai Cernea <[hidden]> wrote:
> I have just finished installing Jack 1.9.8(32bit) on my Windows XP and I
> tested it by connecting the microphone to the speakers and all seems to
> be working fine so I should be able to start using Jack, but I do not
> exactly how.
>
> The task I want to fulfill is something like this: I have an application
> that runs on a server in more that one instance and I want to be able to
> stream the sound from this application to different clients in real
> time. I was able to achieve this by using virtual audio drivers, set the
> output for my application to one of this drivers and use that driver as
> an input for a streamer like VLC that encodes the sound and sends it via
> DarwinStreamingServer to the client. This is working, the quality is OK,
> but the problem is that sometimes I get a huge delay on the client(up to
> several seconds) and because I stream the video as well this delay is
> unacceptable.
> I was thinking of replacing  this chain by Jack and use a different port
> for different instances of the application, capture the sound, encode it
> and streams the audio via same DSS. The thing is I do not know what
> should I do to be able to create a new port and make my application use
> it as the output for it's audio. The encoding and streaming should not
> bee to hard, I could use FFMpeg for example.
>
> That was at least the original plan, but if anyone has a different
> solution I am more than glad to hear it.
>
> Thank you.
> Regards,
> Mihai.

Hi Mihai,

When using Jack for Windows you have two driver options for connecting
sound: the native Jack API, and ASIO (using the JackRouter library).
These driver APIs will connect the sound outputs from the application
into the Jack Audio Server. Sound inputs to application from Jack are
also handled via the Jack API or ASIO. I am not sure whether you are
sending the audio over a network (in which case you would be using
Jack NetDriver to send/receive audio between two Jack Audio Servers).

I am just a user of Jack, so if you need specific pointers on how to
integrate the Jack API driver or ASIO you will need to hear that from
someone else.

Kind regards,
GrahamG
PrevNext  Index

1313672569.4146_0.ltw:2,a <CALuNdZRT2RkMNjWB1z8vQmhYx2E6u1rmJHZ8YYJANWHBjQk_8A at mail dot gmail dot com>