我正在使用由Google Chromecast提供支持的社交墙。一切运作良好,但几分钟后,Chromecast突然崩溃,没有任何错误。
我设置了自定义接收器应用和发送者应用。发送者应用程序基本上只是启动接收器应用程序,没有其他功能。
接收器应用程序基于Backbone和Marionette构建。它还使用Socket.io与服务器通信,提供诸如推文,Instagramm图片等内容。 该应用程序的工作方式类似于幻灯片,它在内容上迭代,显示图像,并在css过渡的帮助下激活动画。
看起来Chromecast可以处理这些事情,因为它运行得非常顺利。但就在Chromcast崩溃之前,应用程序开始断断续续,冻结并最终重新启动。
我认为可能内存泄漏可能导致崩溃,所以我调查了JavaScript对象分配和内存分配,但一切似乎都没问题。没有可识别的内存泄漏。
如上所述,JavaScript引擎和Chromecast本身都不会提供任何错误消息。 (您可以在下面找到Chromecast日志。)
还有一件事:我尝试在不显示所有图像的情况下运行应用程序,并且在我估计15分钟的时间内没有崩溃。但我不能排除没有图像的应用程序不会崩溃。
提前感谢您的回答!
[140530 11:07:02.04] [4484.276s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:08.00] [4490.235s] [cv2.MdnsService] [INFO] onDeviceList returned 0 devices
[140530 11:07:08.03] [4490.264s] [cv2.MdnsService] [INFO] onDeviceList returned 1 devices
[140530 11:07:08.03] [4490.270s] [cv2.DiscoveryService] [INFO] onDevicesFinished
[140530 11:07:08.06] [4490.293s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:14.05] [4496.288s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:20.05] [4502.292s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:26.06] [4508.295s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:32.06] [4514.300s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:40.96] [4523.202s] [cv.DialService] [INFO] onDeviceList returned 1 devices
[140530 11:07:42.10] [4524.342s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:44.54] [4526.773s] [cv.DeviceDescriptionService] [INFO] [fetchDeviceDescription]: GET http://10.10.0.145:8008/ssdp/device-desc.xml => 200 (OK)
[140530 11:07:44.54] [4526.778s] [cv.DeviceDescriptionService] [INFO] Device description: <?xml version="1.0"?><root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://10.10.0.145:8008</URLBase>
<device>
<deviceType>urn:dial-multiscreen-org:device:dial:1</deviceType>
<friendlyName>Weidenscreen</friendlyName>
<manufacturer>Google Inc.</manufacturer>
<modelName>Eureka Dongle</modelName>
<UDN>***</UDN>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<width>98</width>
<height>55</height>
<depth>32</depth>
<url>/setup/icon.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:dial-multiscreen-org:service:dial:1</serviceType>
<serviceId>urn:dial-multiscreen-org:serviceId:dial</serviceId>
<controlURL>/ssdp/notfound</controlURL>
<eventSubURL>/ssdp/notfound</eventSubURL>
<SCPDURL>/ssdp/notfound</SCPDURL>
</service>
</serviceList>
</device>
</root>
[140530 11:07:44.54] [4526.782s] [cv.DeviceDescriptionService] [INFO] Caching device description for 2
[140530 11:07:44.55] [4526.784s] [cv2.DiscoveryService] [INFO] onDevicesFinished
[140530 11:07:47.14] [4529.374s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:53.15] [4535.383s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:07:58.00] [4540.235s] [cv2.MdnsService] [INFO] onDeviceList returned 0 devices
[140530 11:07:58.03] [4540.265s] [cv2.MdnsService] [INFO] onDeviceList returned 1 devices
[140530 11:07:58.03] [4540.270s] [cv2.DiscoveryService] [INFO] onDevicesFinished
[140530 11:08:04.02] [4546.261s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:08:13.69] [4555.927s] [cv2.CastChannelService] [INFO] Got message from {"channelId":1,"readyState":"open","url":"casts://10.10.0.145:8009"}
[140530 11:08:13.70] [4555.933s] [cv.PopupMenuService] [INFO] Popup request: init
[140530 11:08:13.71] [4555.943s] [cv.RampDiscoveryService] [INFO] Discovering DIAL/RAMP activity now...
[140530 11:08:13.75] [4555.985s] [cv2.CastService] [INFO] there are 1 receivers
[140530 11:08:13.75] [4555.991s] [cv.DialService] [INFO] chrome.dial.discoverNow = true
[140530 11:08:13.75] [4555.992s] [cv.DialService] [INFO] onDeviceList returned 1 devices
[140530 11:08:13.76] [4555.995s] [cv2.DiscoveryService] [INFO] onDevicesFinished
[140530 11:08:14.17] [4556.411s] [cv2.DialClient] [INFO] [GetAppInfo]: GET http://10.10.0.145:8008/apps/ => 204 (No Content)
答案 0 :(得分:0)
我遇到了类似的问题,并通过简单的重置修复了chromecast本身。它上面有一个小的重置按钮,如果按下它大约10秒钟就可以这样做。如果你这样做,你将不得不重新设置它。还要检查Google针对chromecast更新的软件。祝你好运。