jit.net.send broadcasting


    Jan 26 2006 | 8:15 pm
    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.

    • Jan 26 2006 | 9:59 pm
      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
    • Jan 27 2006 | 12:08 am
      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.
    • Jan 27 2006 | 12:37 am
      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