I am trying to figure out what the maximum size of a message between sender and receiver is. In certain cases in my app I need to send fairly large messages.
I know there is a maximum size, and so I would need to send my message in separate parts. But other than for Media Playback messages, I cannot find anywhere in the documentation that states the max amount of bytes a message can be.
The Media messages docs explain that in the media namespace "the transport message maximum size is currently 64 KBytes." https://developers.google.com/cast/docs/reference/messages
Is this applicable to messages in any namespace as well, or do they have different restrictions?
Yes, you should assume the 64K size applies to all messages on all namespaces.