Google Cast-接收器不可用 [英] Google Cast - Receiver Unavailable

查看:207
本文介绍了Google Cast-接收器不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想得到一个简单的你好,世界!"样式的应用程序,以与新的Chromecast SDK一起运行.这是我要遵循的分步操作:

I'm just trying to get a simple "Hello, world!" style app to run with the new Chromecast SDK. Here's the step-by-step I'm following:

https://developers.google.com/cast/docs/chrome_sender

为实现最少的设置,我尝试通过Chrome应用程序(而不是Extension)将其连接为发送方,并使用chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID作为AppID(如本教程中所述).

To achieve minimal setup, I'm attempting to wire it up via a Chrome App (App, not Extension) as the Sender, and using chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID as the AppID (as mentioned in the tutorial).

它似乎在初始化和启动之间消失了.我对chrome.cast.initialize的调用成功,但是当receiveListener被调用时,结果始终为不可用".如果我尝试调用chrome.cast.requestSession,它将调用错误代码为"receiver_unavailable"的错误处理程序.

It seems to fall apart somewhere between Initialization and Launch. My call to chrome.cast.initialize succeeds, but when receiverListener gets invoked, the result is always "unavailable". If I attempt to call chrome.cast.requestSession, it invokes the error handler with an error code of "receiver_unavailable".

几件事:

  • 我已向Google支付了$ 5的开发者帐户费用并注册了我的设备
    • 注意:我的应用程序列表仍然为空,这有问题吗?
    • I've paid $5 to Google for a Developer account and registered my device
      • Note: My applications list is still empty, is this a problem?

      还有其他想法吗?请帮忙! :)

      Any other ideas? Please help! :)

      推荐答案

      特别感谢@ssgg将我引到了这一点.

      Special thanks to @ssgg for leading me to this one.

      在Windows 7中,共享网络必须配置为家庭或工作(非公共)网络.我重新配置了它,重新启动了我的笔记本电脑,它的工作原理就像一个魅力!

      In Windows 7, the shared network must be configured as Home or Work (not Public) Network. I re-configured it, rebooted my laptop, and it works like a charm!

      此链接非常有帮助:
      https://support.google.com/chromecast/answer/3249268?hl=zh_CN

      This link was very helpful:
      https://support.google.com/chromecast/answer/3249268?hl=en

      这篇关于Google Cast-接收器不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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