【问题标题】:chromecast, integrate a sender app to a receiver appchromecast,将发送方应用程序集成到接收方应用程序
【发布时间】:2017-09-08 18:50:30
【问题描述】:

我在使用 google cast 接收器应用 CastHelloVideoPlayer 时遇到问题,可以从 github/googlecast 找到该应用。

我按照 github.com/googlecast/CastHelloVideoPlayer 网页上指定的设置说明进行操作, ......

  1. 上传CastHelloVideoPlayer的receiver.html到我的github账号, https://github.com/PhilSSOO/myCastHelloVideoPlayer

  2. 在开发者控制台上注册了一个应用程序。我有一个应用程序 ID 3BFFF41A。我选择不发布我的应用。

  3. 在开发者控制台中注册了我的 chromecast 设备的序列号。

  4. 我尝试将我的 chromecast 序列号发送给 Google,但未能成功。我的设置过程没有让我执行“发送您的序列号”步骤。

  5. 重新启动 chromecast ......但我没有看到任何迹象表明我的 chromecast 进行了任何更改。

  6. 将app ID 3BFFF41A输入到我的发送者应用程序中,这是Cast iOS codelab教程的app_done, https://codelabs.developers.google.com/codelabs/cast-videos-ios/#0

(app_done 工作正常 --- 能够通过 chromecast 设备将视频投射到我的电视上 --- 所以我假设这个发送者应用程序与我的 chromecast 通信良好)

(继续上面的7)确切地说,我在appDelegate.m文件中添加了3BFFF41A …… GCKCastOptions *选项 = [[GCKCastOptions alloc] initWithReceiverApplicationID:3BFFF41A]; ......

但是我遇到了一个错误,

十进制常量中的无效数字“B”

我怀疑这不是将发送方应用程序集成到接收方应用程序的方式。我在互联网上的搜索没有让我通过。

请帮忙。

菲尔

【问题讨论】:

  • 尊敬的 Nicholls 先生,initWithReceiverApplicationID:@"3BFFF41A" 确实有效。非常感谢!菲尔

标签: chromecast receiver


【解决方案1】:

initWithReceiverApplicationID 要求应用 ID 为字符串。

【讨论】:

  • 尊敬的 Nicholls 先生,initWithReceiverApplicationID:@"3BFFF41A" 确实有效。非常感谢!菲尔
猜你喜欢
  • 1970-01-01
  • 2013-09-03
  • 2014-06-17
  • 2019-10-04
  • 1970-01-01
  • 1970-01-01
  • 2012-09-28
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多