gpt4 book ai didi

javascript - Chromecast崩溃

转载 作者:行者123 更新时间:2023-12-03 15:48:45 25 4
gpt4 key购买 nike

我正在使用由Google Chromecast驱动的社交墙。一切正常,但是几分钟后,Chromecast突然崩溃,没有任何错误。

我设置了一个自定义的接收器应用程序和一个发送器应用程序。发送方应用程序基本上只是启动接收方应用程序,没有其他功能。

接收器应用程序基于Backbone和Marionette构建。它还使用Socket.io与服务器通信,该服务器提供诸如tweet,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)

最佳答案

我遇到了类似的问题,并通过对chromecast本身的简单重置来解决。上面有一个小的重置按钮,如果您按下它约10秒钟,您将可以这样做。如果这样做,则必须重新进行设置。另外,请检查是否已针对Google的chromecast更新了软件。祝好运。

关于javascript - Chromecast崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23951951/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com