Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message too long #8

Closed
jBernz opened this issue Mar 4, 2020 · 2 comments
Closed

Message too long #8

jBernz opened this issue Mar 4, 2020 · 2 comments

Comments

@jBernz
Copy link

jBernz commented Mar 4, 2020

So I have a lot of tracks/scenes in my set. When I go to get clip_slots from a scene I get this message:

Error: error: (40, 'Message too long') at Ableton.handleIncoming (/Users/justin/My Files/Code/Music/Ableton/ableton-js/index.js:131:45)

any ways you can think of to trim down message size?

@leolabs
Copy link
Owner

leolabs commented Mar 5, 2020

I have an idea that could at least mitigate the problem a bit. I'll try to gzip the messages before sending them. Because there are a lot of repeating keys in the JSON, this should reduce the size pretty well. Other than that, it might be necessary to split the messages into multiple parts. I have to see, however, if UDP can keep the package order intact, otherwise, this might get a bit messy.

@leolabs leolabs closed this as completed in 4bff6ef Mar 5, 2020
@leolabs
Copy link
Owner

leolabs commented Mar 5, 2020

This should be fixed now, could you try it out in v1.8.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants