根据端口 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 连接,我只会得到一个未定义的响应。
有什么我想念的吗?