Can I use VVVV to directly communicate with Flash ?
Posted: 01 October 2007 09:38 AM   [ Ignore ]
Avatar
Rank
Joined  2007-09-06
Total Posts:  61
New Member

I want to use VVVV for blob detection ( for a slightly improved performance) to directly communicate with Flash .
I wrote a VVVV patch which codes the blob-points in the OSC format and sends it on the port 3000 (localhost). But the Flash clients dont seem to pick this.

I also tried running FLOsc after I started the VVVV patch. But this also isnt working.

Where am I going wrong?

Thanks
Adi

 Signature 

India’s first multitouch table
http://therealdesktop.blogspot.com

Profile
 
 
Posted: 01 October 2007 09:44 AM   [ Ignore ]   [ # 1 ]
Rank
Joined  2007-08-31
Total Posts:  54
New Member

so if you are sending OSC messages on port 3000, check FLOSC is listening for OSC messages on port 3000, and then check your connection between FLOSC and Flash (it could be also theoretically port 3000, so you’ll have flosc listening on udp port 3000 for osc messages and at same time listening on port tcp 3000 for flash client)

Profile
 
 
Posted: 10 October 2007 02:41 PM   [ Ignore ]   [ # 2 ]
Rank
Joined  2007-08-01
Total Posts:  94
New Member

The big problem with flash is that its sockets go over TCP instead of UDP (which is likely how VVVV is sending OSC data). So there is no way to natively connect flash to VVVV or touchlib or processing or any UDP source. So the FLOSC engine is a java app that translates the UDP packet into an XML packet and sends it to flash over XMLSocket. I personally think this is lame but its about the only way right now to get data into flash from an OSC source.

 Signature 

Brett Forsyth
Blog: http://blog.thestem.ca
My Mult-touch build: http://ddblog.vfs.com/category/multi-touch/
Where I teach: http://vfs.com/fulltime.php?id=13

Profile