jit.net.send broadcasting

Jan 26, 2006 at 8:15pm

jit.net.send broadcasting

Hey guys, I’m having issues with jit.net.send and .recv.

What I want to do is to use jit.net.send to ‘broadcast’ the jit matrix to all ip addresses on a LAN. So my LAN is setup as 192.168.1.X and I am entering 192.168.1.255 as the ‘send to’ IP address in jit.net.send – problem is that the jit.net.recv will not receive on its IP address. Does the boadcast IP of x.x.x.255 scheme just not work with jitter?

Thanks in advance for the help.

#24116
Jan 26, 2006 at 9:59pm

jit.net.send is TCP based and does not support multicast. You will
need to manually initiate all connections. There are some ideas we
have for facilitating this with client initiated TCP streams like
would happen from a web browser, but for now you’ll need to deal with
this management in your patcher logic (could use js to make a socket
pool).

-Joshua

#69287
Jan 27, 2006 at 12:08am

Josh, thanks for the info. So to understand correctly…

If I want 5 different IPs to receive the same video, I have to add 5 jit.net.send objects each with a different IP, correct?

If this is the case, is the video getting processed and sent 5 times?

Thanks.

#69288
Jan 27, 2006 at 12:37am

Yes. There is no multicast support. You can use jit.broadcast to
multicast a compressed stream, but for the uncompressed jit.net.*
objects, we want to support reliable delivery (not possible with UDP
without building TCP like functionality on top of UDP).

-Joshua

#69289

You must be logged in to reply to this topic.