OSC Message Large strings

All other topics about Ventuz 5 here.

Moderator: Support

Post Reply
User avatar
Eric_RD
Posts: 101
Joined: 04 Jun 2014, 14:01
Contact:

OSC Message Large strings

Post by Eric_RD » 04 May 2018, 10:02

Is there a maximum number of characters you can send within an OSC string?
I am sending Json Data Objects which are dynamically filled by user Input and somewhere around 10.000 Characters the OSC Message is not received anymore.
Delete some Objects to shorten the string and everything is fine again. But as it is dependent on user Input I can't foresee the real size.
Theoretically possible in the Program right now are around 40.000 Characters.
Regards, Eric

User avatar
lerou
Posts: 315
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: OSC Message Large strings

Post by lerou » 04 May 2018, 10:14

Yes, OSC messages are limited in size. If the size is too large, data is not split and sent via seperate messages, it just fails. I've stumbled upon this when using OSC images. I can't tell you the exact size, though. You'd have to manually split your data, send it via several OSC messages and put it back together. Or use a different protocol altogether.

cheers,
rou

User avatar
Eric_RD
Posts: 101
Joined: 04 Jun 2014, 14:01
Contact:

Re: OSC Message Large strings

Post by Eric_RD » 04 May 2018, 11:12

Hmmm I will go for TCP/Telnet then.

Thanks for the quick reply anyway =)

Post Reply