What is the maximum size of a message in the Cast SDK?

强颜欢笑 提交于 2019-12-24 16:51:16

问题


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:


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



来源:https://stackoverflow.com/questions/35753780/what-is-the-maximum-size-of-a-message-in-the-cast-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!