【发布时间】:2013-07-28 14:15:48
【问题描述】:
根据端口 9222 上的调试面板,我有一个接收器应用程序(来自 cast-ios-sample 的股票版本)正确地从我的白名单 URI 中下载。但是,此后不久,控制台从谷歌的托管中吐出这些行cast_receiver.js(在receiver.html文件中引用)
[ 0.162s] [goog.net.WebSocket] An error occurred: undefined
[ 0.172s] [cast.receiver.ChannelOverWebSocket] Dispatch ERROR event to ws://localhost:8008/system/control
[ 0.177s] [cast.receiver.Channel] Dispatch ERROR event to ws://localhost:8008/system/control
[ 0.182s] [cast.receiver.Platform] Platform channel has an error: ws://localhost:8008/system/control
然后在一系列这些错误之后(大概是在重试循环中):
[ 8.335s] [cast.receiver.Platform] This device doesn't support the platform API.
如果我尝试手动建立到 ws://localhost:8008/system/control 的 WebSocket 连接,我只会得到一个未定义的响应。
我有什么遗漏的吗?
【问题讨论】: