steve...@gmail.com wrote:
> Hi all,
>
> A friend and I are trying to get Jacktrip to work together...
>
> I have setup jacktrip, jack, qjackctl etc and resolved all
> dependencies on Slackware Linux 12.2.
That's good to hear, if you have the time, can you let me know or maybe
send me your Slackware port so we can make it public?
> My question is this:
> Is it possible to have the Jacktrip server and Client running on the
> same system?
Yes, it is, but you need to use different ports. The default is 4464,
and there is an offset option (-o) that you can use to increase (or
decrease) the default receiving port. For example, '-o 10' will make
the receiving port 4474 (4464+10)
> If not that will explain why my friend could connect to my server
> across the internet through my firewall, but couldn't hear me.
That is most probably happening because your friend has UDP port 4464
blocked. You have it open, so you could hear, but the packets never
reach him. When he connects to you, the last thing he sees is:
Waiting for Peer...
?
If that's true, try to check with iperf (intructions here
http://ccrma.stanford.edu/groups/soundwire/software/jacktrip-old/ under
'Testing your connection').
> On my
> machine that had both jacktrip -s and jacktrip -c running.
That's strange. If you run both at the same time, you should get an
error like:
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not bind UDP socket. It may be already binded.
Aborted
Which is what I was explaining previously, you can only use once each
port, once the socket is binded, it can be re-binded by any other process.
> I saw the
> connections in Qjackctl showing my sends and receives were connected
> and since I didn't have the realtime kernel running at the time I
> heard a slight delay - Thoughts?
From what connection was that delay coming from? In qjackctl you can
tweak the Frames/Period to get lower local delay. The lower the better.
128 works usually fine in network connections.
Also, what version of JackTrip are you using? The latest one should tell
you with:
jacktrip -v
Let us know how it goes.
Best!
Juan-Pablo
Sorry for the delay, I've been traveling.
On 1/26/09 11:43 AM, steve...@gmail.com wrote:
> Hi Juan-Pablo,
>
> We are trying to achieve the following:
> My PC is acting as jacktrip server and client for me, and server for
> my friend connecting in.
I think the confusion is here. You don't need to act as server AND
client and the same time (unless you want to do something else that a
normal peer to peer connection). You just decide who's the server and
who's the client, and that's it. You don't need the offsets unless you
want to change the default port 4464.
For example, just fire jacktrip on your machine with:
jacktrip -s
and in your friend's machine:
jacktrip -c [YOUR-IP-ADDRESS]
I doesn't really matter who starts the server and the client, and for
that matter, you can both be clients, you do:
jacktrip -c [YOUR-FRIENDS-IP]
and your friend:
jacktrip -c [YOUR-IP-ADDRESS]
The server mode is kind of an easier way to wait for any client, but
both configurations do the same. Of course, UDP port 4464 needs to be
open on both machines.
> Also he told me something else that may or may not
> also be a factor in his inability to properly connect as a client to
> my server - I had him run jackd -d alsa -n 4, and it mentioned
> something about libfreebob support missing - does he need that for
> jacktrip (is it a essential dependancy for jack or jacktrip).
Maybe it's easier if you start jack with qjackctl?
-- Juan-Pablo