Cast SDK中消息的最大大小是多少? [英] What is the maximum size of a message in the Cast SDK?

查看:70
本文介绍了Cast SDK中消息的最大大小是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出发送者和接收者之间的最大消息大小。在某些情况下,我的应用程序需要发送相当大的消息。

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.

媒体消息文档解释说,在媒体名称空间中,传输消息的最大大小当前为64 KB。 https://developers.google.com/cast/docs/reference/messages

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?

推荐答案

是的,您应该假定64K大小适用于所有命名空间上的所有消息。

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

这篇关于Cast SDK中消息的最大大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆