Syphon / Processing

Syphon Implementation for Processing
Other
137 stars 33 forks source link

new SyphonClient(this, "Simple Server"); #11

Closed clankill3r closed 10 years ago

clankill3r commented 10 years ago

Sorry to spam :)

In the default examples this never worked for me in ReceiveFrames:

client = new SyphonClient(this, "Simple Server");

Also this makes it look like a line is missing after the 'both:'

  // A Syphon server can be specified by the name of the application that it contains it,
  // its name, or both:

  // Only application name.
  //client = new SyphonClient(this, "SendFrames");

sorry i didn't report earlier

codeanticode commented 10 years ago

it's working for me (OSX 10.9.3, library built from the repo). What version are you using, the RC1 from googlecode?

clankill3r commented 10 years ago

yeah Processing Syphon library 1.0-RC1 Also 10.9.3.

To what do you change:

client = new SyphonClient(this, "Simple Server"); ?

Cause there is no example called "Simple Server", neither a server with that name.

codeanticode commented 10 years ago

"Simple Server" is the sample app included in the Simple Server/Client pair listed in the syphon page:

https://github.com/Syphon/Simple/releases/download/public-beta-2/Syphon.Demo.Apps.Public.Beta.2.dmg

bangnoise commented 10 years ago

If you pass an empty string, it should match any server

new SyphonClient(this, "");
codeanticode commented 10 years ago

@bangnoise thanks for bringing the heads up, I just removed the empty string check that triggered a runtime exception in the client code.

clankill3r commented 10 years ago

Damn, why didn't i think of it being the app...