I'm developing a Max For Live device do integrate my Ableton setup with a Max patch in order to play video by launching clips. The device is really simple: it reads the name of the playing clip of the channel and send it thought udpsend to 127.0.0.1. The Max patch receives the name and triggers the appropriate video file.
But for this purpose, timing is essential and I'm getting a lot of sync issues. I thought it had something to do with udpsend, but the problem is with live.observer. Here is the test I did:
There is a lot of inconsistency and delay at the launch of the clip. Is there anything that can be done to improve it or is it the way this API works, with no workaround?