谷歌演员接收器无论如何都返回不可用

时间:2014-08-11 16:42:19

标签: chromecast google-cast

我尝试了一些googlecast样本(例如googlecast/CastHelloText-chrome

但其接收器返回的任何样本"不可用"在我的定制接收器上。

  • 首先,样本中的默认应用程序ID(例如' 794B7BBF')运行良好。没有问题。
  • Google Cast SDK Developer Console上的样本中注册了receiver.html,并将应用程序ID替换为已发布的,但在发件人身上找到了任何接收者。
  • 重新启动chromecast,选中"在检查更新时发送此Chromecast的序列号。"复选框,重新初始化的chromecast和已注册的序列号,但它们无效。

这是访问receiver.html

时Chrome开发者工具控制台上的控制台日志
 [  0.034s] [cast.receiver.CastReceiverManager] Version: 2.0.0.0008 cast_receiver.js:18
Starting Receiver Manager receiver.html:46
 [  0.035s] [cast.receiver.IpcChannel] Opening message bus websocket cast_receiver.js:18
 [  0.036s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
Receiver Manager started receiver.html:91
 [  2.062s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [  2.062s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [  2.063s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  2.064s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [  2.064s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [  2.064s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  2.064s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [  2.064s] [goog.net.WebSocket] Seconds until next reconnect attempt: 1 cast_receiver.js:18
 [  3.068s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [  5.076s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [  5.076s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [  5.076s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  5.077s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [  5.077s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [  5.078s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  5.078s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [  5.079s] [goog.net.WebSocket] Seconds until next reconnect attempt: 2 cast_receiver.js:18
 [  7.080s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [  9.083s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [  9.084s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [  9.084s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  9.084s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [  9.084s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [  9.085s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [  9.085s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [  9.085s] [goog.net.WebSocket] Seconds until next reconnect attempt: 4 cast_receiver.js:18
 [ 13.087s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [ 15.091s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [ 15.091s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [ 15.091s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 15.091s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [ 15.092s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [ 15.092s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 15.092s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [ 15.092s] [goog.net.WebSocket] Seconds until next reconnect attempt: 8 cast_receiver.js:18
 [ 23.094s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [ 25.097s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [ 25.098s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [ 25.098s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 25.098s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [ 25.099s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [ 25.099s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 25.099s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [ 25.099s] [goog.net.WebSocket] Seconds until next reconnect attempt: 16 cast_receiver.js:18
 [ 41.675s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [ 43.679s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [ 43.680s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [ 43.680s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 43.682s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [ 43.682s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [ 43.682s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 43.682s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [ 43.682s] [goog.net.WebSocket] Seconds until next reconnect attempt: 32 cast_receiver.js:18
 [ 76.675s] [goog.net.WebSocket] Opening the WebSocket on ws://localhost:8008/v2/ipc cast_receiver.js:18
 [ 78.679s] [goog.net.WebSocket] An error occurred: undefined cast_receiver.js:18
 [ 78.680s] [cast.receiver.IpcChannel] IpcChannel error cast_receiver.js:18
 [ 78.680s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 78.680s] [goog.net.WebSocket] The WebSocket on ws://localhost:8008/v2/ipc closed. cast_receiver.js:18
 [ 78.681s] [cast.receiver.IpcChannel] IpcChannel closed cast_receiver.js:18
 [ 78.681s] [cast.receiver.CastMessageBus] Dispatching CastMessageBus message cast_receiver.js:18
 [ 78.681s] [goog.net.WebSocket] The WebSocket disconnected unexpectedly: undefined cast_receiver.js:18
 [ 78.681s] [goog.net.WebSocket] Seconds until next reconnect attempt: 60 cast_receiver.js:18

有什么想法吗? 我期待着你的回复。 感谢。

1 个答案:

答案 0 :(得分:0)

有时,从chromecast桌面应用重启后,无法访问端口9222甚至输入正确的序列号。 为了确保重启设备,我必须通过手动重新连接chromecast重新启动。