Share Sketch in Local Network

Hi All,

I'm working in windows and I've got two computers, both connected to the local network and I'd like to share the sketch running on them to the other computer. Just to be clear, the sketch being run a computer A will only be visible to computer B and vice versa.

I've looked into Spout unfortunately, it doesn't seem to have the capability to share over the network.

A quick method would also be to use a screen sharing app such as Skype however it'll only display what the user sees and not a window in the background.

Thanks in adavance, Charles

Tagged:

Comments

  • Sharing the sketch? You mean the actual sketch or sending some data between sketches? For the latter, try the oscp5 library. it works in local networks for sure.

    Kf

  • I'm trying to share the entire visual output of the sketch.

  • edited April 2017

    Turns out Spout is compatible with NDI, so the transfer streaming flow is as follows:

    • On the sending side: Processing + Spout > Spout to NDI
    • On the receiving side: NDI to Spout > SpoutReceiver

    http://spout.zeal.co/

  • How would you use it? Do you call it from your processing sketch or P3 is run on top of spout and then you access it as if ti were a remote connection?

    I can imagine that after you render your draw, you can use get() to retrieve your image buffer and send it via TCP/IP. Is that the concept you have in mind?

    I have read about syphon before and it seems this is the version to use in Windows.

    Thxs for sharing your solution,

    Kf

  • Hi, CharlesDesign

    Can you share your solution?

  • edited November 2017

    I just saw your last reply.

    It would be then:

    1) Running 'SpoutSender' sketch in machine A
    2) Running 'Spout to NDI' executable in machine A
    3) Running 'NDI to Spout' executable in machine B
    4) Running 'SpoutReceiver' sketch in machine B

    ?

    What FPS have you managed to achieve? Thanks in advance!

  • Hey @leopessanha unfortunately, the fps was far too slow - around 16fps at 960x480 if I remember correctly

Sign In or Register to comment.