[LAU] Receiving multiple inputs over network uzing zita-n2j

Fons Adriaensen fons at linuxaudio.org
Sun Oct 7 11:20:27 CEST 2018


On Sat, Oct 06, 2018 at 10:01:13PM -0700, ahmethungari wrote:

> receiver $ zita-n2j --chan 1 192.168.1.5 5000 --buff 65
> receiver $ zita-n2j --chan 1 192.168.1.5 5001 --buff 65
> 
> And the second zita-n2j comand gives an error 
> "Address already in use"
 
> I thought having two different port numbers for different senders would
> allow me to run zita-n2j twice on the same computer, but apparently I was
> wrong. Is there any possibility to do so?

Use 5002 as the second port number.

Zita-n2j actually opens two sockets, the second with the 
given port number + 1. The second socket is not actually
used in the released version. I should probably remove
the code that creates it. The original use (in a version
I had at work) was to synchronise to the audio to an RTP
video stream.

Ciao,

-- 
FA




More information about the Linux-audio-user mailing list