What is the maximum size of a message in the Cast

2019-08-15 03:30发布

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?

1条回答
地球回转人心会变
2楼-- · 2019-08-15 04:13

Yes, you should assume the 64K size applies to all messages on all namespaces.

查看更多
登录 后发表回答