Touchlib / Flosc / Flash performance bottlenecks. 
Posted: 10 June 2008 03:40 AM   [ Ignore ]
New Member
Rank
Total Posts:  24
Joined  2008-04-01

It would be nice to have a discussion on the major performance bottlenecks in Touchlib / Flash / Flosc - the main issues to improve the performance of the system.

My (unprioritised) top list:
1. Flash using XMLSocket to read Flosc’s xml data
2. The fact we repackage OSC’s TUIO messages in XML in Flosc at all
3. Sleep functions in CTouchScreen and OSC that mean that camera processing is out of sync
4. Permute2 recursive function for tracking the blobs

What do you think? And are there other issues?

E.

 Signature 

canTouch tangible interfaces - Amsterdam - http://www.cantouch.nl

Profile
 
 
Posted: 19 June 2008 04:29 PM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  87
Joined  2007-10-23

Hey just found this thread, and it seams at least 3 of the 4 major bottlenecks are being or have been fixed recently. Good news?! smile

Profile
 
 
Posted: 19 June 2008 09:31 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  537
Joined  2006-11-09

Great list Erik I will take note of it.

Luckily weyforth is helping take care of many of these issues.

Also Flash 10 SHOULD support UDP protocol which would REALLY remove the need to convert from UDP to TCP (XML)

 Signature 

~

Profile
 
 
Posted: 20 June 2008 06:26 AM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  24
Joined  2008-04-01

Yeah i am checking out Toxy and it looks really promising, can;t wait to run it on our setup.

The UDP fix on Flash 10, does that also mean you can listen to a socket directly or is still the XML socket needed?

Cheers
Erik

 Signature 

canTouch tangible interfaces - Amsterdam - http://www.cantouch.nl

Profile
 
 
Posted: 20 June 2008 07:11 AM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  87
Joined  2007-10-23

We also shouldn’t forget AlexP for working on touchlib itself. I hadn’t heard about UDP in Flash 10, that should be cool. It also shouldn’t be too hard to make the classes I’ve written work with it. Can anyone elaborate on this UDP support in Flash 10?

Profile
 
 
Posted: 23 June 2008 06:57 AM   [ Ignore ]   [ # 5 ]
Jr. Member
Avatar
RankRank
Total Posts:  101
Joined  2008-03-02

http://justin.everett-church.com/index.php/2008/05/16/rtmfp-in-flash-player-10-beta/

To enable RTMFP and the UDP transport, authorization from a future server-based technology such as Adobe Flash Media Server will be required.

I guess that udp will be included only as part of new RTMF protocol, so basically someone should reverse engineere the protocol and then send data in such way
that flash 10 can understand it.

Profile
 
 
Posted: 23 June 2008 01:54 PM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  509
Joined  2008-02-22

I was thinking the same thing jet-plane

 Signature 

http://www.justinriggio.com cool mad
http://www.niceminds.com My blog

Profile
 
 
Posted: 23 June 2008 01:58 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  509
Joined  2008-02-22

http://justin.everett-church.com/index.php/2008/05/16/rtmfp-in-flash-player-10-beta/
“To enable RTMFP and the UDP transport, authorization from a future server-based technology such as Adobe Flash Media Server will be required.”

Will we need FMS running? if so could we use Red 5?

 Signature 

http://www.justinriggio.com cool mad
http://www.niceminds.com My blog

Profile
 
 
Posted: 25 June 2008 09:28 AM   [ Ignore ]   [ # 8 ]
New Member
Rank
Total Posts:  24
Joined  2008-04-01

Toxy does work fine with our setup, speedup is quite remarkable, so good work there guys!

With Toxy working, do you still regard this Flash connection as a bottleneck?

Cheers,
Erik

 Signature 

canTouch tangible interfaces - Amsterdam - http://www.cantouch.nl

Profile