mauimauer / cheapcast

It's CheapCast.
Apache License 2.0
399 stars 107 forks source link

CheapCast cannot be discoverred by Google Cast Extension (14.605.0.10) #50

Open imaclee opened 10 years ago

imaclee commented 10 years ago

CheapCast Version: 0.4.6 Chrome(Windows8.1) Google Cast Extension Version: 14.605.0.10 update on 2014/06/23

There is an error in log of Google Cast Extension: [140626 13:57:16.26] [20517.357s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425)

Detail logs:

[140626 13:55:59.59] [20440.689s] [cv2.MdnsService] Discover now [140626 13:55:59.59] [20440.690s] [cv2.MdnsService] onDeviceList returned 0 devices [140626 13:55:59.60] [20440.693s] [cv2.MdnsService] ....the list is: [] [140626 13:56:09.61] [20450.709s] [cv2.CombinedDiscoveryService] Running... [140626 13:56:27.67] [20468.764s] [cv.PopupMenuService] Popup request: init [140626 13:56:27.68] [20468.775s] [cv.PopupMenuService] the request is {"type":"init","message":{}} [140626 13:56:27.76] [20468.853s] [cv.DialService] Discover now [140626 13:56:27.76] [20468.857s] [cv.RampDiscoveryService] Discovering DIAL/RAMP activity now... [140626 13:56:27.85] [20468.942s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:27.85] [20468.944s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:27.85] [20468.947s] [cv2.CastService] there are 0 receivers [140626 13:56:27.86] [20468.959s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:27.86] [20468.961s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:27.87] [20468.963s] [cv.Messenger-background] Sending message to popup: {"type":"model_update","message":{"receiverActs":[],"issue":null,"isV1AppInTab":false,"isV2AppInTab":false,"v2AppDomain":null,"currentActivity":null,"desktopActivity":null,"settings":{"statsCollectNotificationDismissed":true,"sendUsageEnabled":false,"castAppNotificationDismissed":true,"mirrorQualityId":"high"}}} [140626 13:56:27.87] [20468.966s] [cv.DialService] chrome.dial.discoverNow = true [140626 13:56:27.87] [20468.967s] [cv.DialService] onDeviceList returned 0 devices [140626 13:56:27.87] [20468.969s] [cv.DialService] ....the list is: [] [140626 13:56:28.76] [20469.861s] [cv.DialService] onDeviceList returned 1 devices [140626 13:56:28.77] [20469.863s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}] [140626 13:56:29.26] [20470.355s] [cv.DeviceDescriptionService] [fetchDeviceDescription]: GET http://192.168.199.110:8008/ssdp/device-desc.xml => 200 (OK) [140626 13:56:29.27] [20470.369s] [cv.DeviceDescriptionService] Device description: <?xml version="1.0" encoding="utf-8"?>

1 0
   <URLBase>http://192.168.199.110:8008</URLBase>
   <device>
       <deviceType>urn:schemas-upnp-org:device:dial:1</deviceType>
       <friendlyName>CheapCast_HTC 802d</friendlyName>
       <manufacturer>Google Inc.</manufacturer>
       <modelName>Eureka Dongle</modelName>
       <UDN>**_</UDN>
       <serviceList>
           <service>
               <serviceType>urn:schemas-upnp-org:service:dial:1</serviceType>
               <serviceId>urn:upnp-org:serviceId:dial</serviceId>
               <controlURL>/ssdp/notfound</controlURL>
               <eventSubURL>/ssdp/notfound</eventSubURL>
               <SCPDURL>/ssdp/notfound</SCPDURL>
           </service>
       </serviceList>
   </device>

[140626 13:56:29.28] [20470.373s] [cv.DeviceDescriptionService] Got device description {"uniqueId":"**_","deviceLabel":"2","friendlyName":"CheapCast_HTC 802d","ipAddress":"192.168.199.110","Ud":"http://192.168.199.110:8008/apps","Gt":1403762189276,"Et":1403763989276,"Ai":"urn:schemas-upnp-org:device:dial:1","modelName":"Eureka Dongle","configId":7339} [140626 13:56:29.28] [20470.375s] [cv.DeviceDescriptionService] Caching device description for 2 [140626 13:56:29.28] [20470.378s] [cv2.DiscoveryService] Adding new receiver rMnohloAKgxQ0EanCX-TwIFLGvx0. [140626 13:56:29.28] [20470.381s] [cv2.DialAppDiscoveryService] Querying rMnohloAKgxQ0EanCX-TwIFLGvx0. for ChromeCast [140626 13:56:29.31] [20470.407s] [cv2.DialAppDiscoveryService] Querying rMnohloAKgxQ0EanCX-TwIFLGvx0. for YouTube [140626 13:56:29.32] [20470.412s] [cv2.DiscoveryService] onDevicesFinished [140626 13:56:29.51] [20470.602s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps/ChromeCast => 200 (OK) [140626 13:56:29.51] [20470.604s] [cv2.DialClient] [GetAppInfo]: <?xml version='1.0' encoding='UTF-8'?>

ChromeCast stopped

[140626 13:56:29.51] [20470.606s] [cv2.DialAppDiscoveryService] DIAL get app info result: {"name":"ChromeCast","state":"stopped","sU":null,"nU":true,"tU":null,"serviceData":null,"Sp":null,"extraData":{}} [140626 13:56:29.51] [20470.610s] [cv2.DialAppDiscoveryService] Got app status available from rMnohloAKgxQ0EanCX-TwIFLGvx0. for ChromeCast [140626 13:56:29.52] [20470.613s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps/YouTube => 200 (OK) [140626 13:56:29.52] [20470.614s] [cv2.DialClient] [GetAppInfo]: <?xml version='1.0' encoding='UTF-8'?>

YouTube stopped

[140626 13:56:29.53] [20470.624s] [cv2.DialAppDiscoveryService] DIAL get app info result: {"name":"YouTube","state":"stopped","sU":null,"nU":true,"tU":null,"serviceData":null,"Sp":null,"extraData":{}} [140626 13:56:29.53] [20470.626s] [cv2.DialAppDiscoveryService] Got app status available from rMnohloAKgxQ0EanCX-TwIFLGvx0. for YouTube [140626 13:56:32.64] [20473.740s] [cv.TabUtils] Newly focused window ID: 1 [140626 13:56:35.97] [20477.068s] [cv.PopupMenuService] Popup request: init [140626 13:56:35.98] [20477.081s] [cv.PopupMenuService] the request is {"type":"init","message":{}} [140626 13:56:35.99] [20477.086s] [cv.DialService] Discover now [140626 13:56:35.99] [20477.090s] [cv.RampDiscoveryService] Discovering DIAL/RAMP activity now... [140626 13:56:36.05] [20477.143s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:36.05] [20477.145s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:36.05] [20477.147s] [cv2.CastService] there are 0 receivers [140626 13:56:36.05] [20477.149s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:36.06] [20477.155s] [cv2.CastClientRecord] No client in the tab 207 have default action policy of create_session [140626 13:56:36.08] [20477.172s] [cv.Messenger-background] Sending message to popup: {"type":"model_update","message":{"receiverActs":[],"issue":null,"isV1AppInTab":false,"isV2AppInTab":false,"v2AppDomain":null,"currentActivity":null,"desktopActivity":null,"settings":{"statsCollectNotificationDismissed":true,"sendUsageEnabled":false,"castAppNotificationDismissed":true,"mirrorQualityId":"high"}}} [140626 13:56:36.11] [20477.204s] [cv.DialService] chrome.dial.discoverNow = true [140626 13:56:36.11] [20477.205s] [cv.DialService] onDeviceList returned 1 devices [140626 13:56:36.11] [20477.207s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}] [140626 13:56:36.13] [20477.224s] [cv2.DiscoveryService] onDevicesFinished [140626 13:56:36.29] [20477.385s] [cv2.DialClient] [GetAppInfo]: GET http://192.168.199.110:8008/apps => 200 (OK) [140626 13:56:36.29] [20477.387s] [cv2.DialClient] [GetAppInfo]: <?xml version='1.0' encoding='UTF-8'?>

ChromeCast stopped

[140626 13:56:37.28] [20478.381s] [cv2.CombinedDiscoveryService] Try DIAL->CAST rMnohloAKgxQ0EanCX-TwIFLGvx0. [140626 13:56:37.29] [20478.383s] [cv2.CastChannelService] Connecting to rMnohloAKgxQ0EanCX-TwIFLGvx0. [140626 13:56:37.29] [20478.384s] [cv2.CastChannelService] Opening channel to {"ipAddress":"192.168.199.110","port":8009,"auth":"ssl_verified"} [140626 13:56:37.76] [20478.861s] [cv.DialService] Discover now [140626 13:56:37.82] [20478.912s] [cv.DialService] chrome.dial.discoverNow = false [140626 13:56:38.00] [20479.094s] [cv.DialService] onDeviceList returned 1 devices [140626 13:56:38.00] [20479.096s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}] [140626 13:56:38.00] [20479.097s] [cv2.DiscoveryService] onDevicesFinished [140626 13:56:38.68] [20479.774s] [cv2.CastChannelService] Open-channel result: {"channelId":151,"connectInfo":{"auth":"ssl_verified","ipAddress":"192.168.199.110","port":8009},"errorState":"connect_error","readyState":"closed","url":"casts://192.168.199.110:8009"} [140626 13:56:38.70] [20479.798s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425) [140626 13:56:46.26] [20487.359s] [cv.Settings] Saving settings to storage. [140626 13:56:46.82] [20487.912s] [cv.DialService] onDeviceList returned 1 devices [140626 13:56:46.82] [20487.918s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}] [140626 13:56:46.82] [20487.921s] [cv2.DiscoveryService] onDevicesFinished [140626 13:56:49.59] [20490.688s] [cv2.MdnsService] Discover now [140626 13:56:49.59] [20490.690s] [cv2.MdnsService] onDeviceList returned 0 devices [140626 13:56:49.60] [20490.692s] [cv2.MdnsService] ....the list is: [] [140626 13:56:53.29] [20494.386s] [cv.TabUtils] Newly focused window ID: 275 [140626 13:57:04.69] [20505.790s] [cv.DialService] onDeviceList returned 1 devices [140626 13:57:04.70] [20505.796s] [cv.DialService] ....the list is: [{"configId":7339,"deviceDescriptionUrl":"http://192.168.199.110:8008/ssdp/device-desc.xml","deviceLabel":"2"}] [140626 13:57:04.70] [20505.798s] [cv2.DiscoveryService] onDevicesFinished [140626 13:57:14.62] [20515.712s] [cv2.CombinedDiscoveryService] Running... [140626 13:57:14.62] [20515.716s] [cv2.CombinedDiscoveryService] Try DIAL->CAST rMnohloAKgxQ0EanCX-TwIFLGvx0. [140626 13:57:14.62] [20515.718s] [cv2.CastChannelService] Connecting to rMnohloAKgxQ0EanCX-TwIFLGvx0. [140626 13:57:14.62] [20515.720s] [cv2.CastChannelService] Opening channel to {"ipAddress":"192.168.199.110","port":8009,"auth":"ssl_verified"} [140626 13:57:16.25] [20517.350s] [cv2.CastChannelService] Open-channel result: {"channelId":152,"connectInfo":{"auth":"ssl_verified","ipAddress":"192.168.199.110","port":8009},"errorState":"connect_error","readyState":"closed","url":"casts://192.168.199.110:8009"} [140626 13:57:16.26] [20517.357s] [browser] Error: Uncaught connect_error (chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/background_script.js @ Line: 1425)

comtom commented 10 years ago

I have the same issue. But I may add that if a stream is already sent to cheapcast, I can see cheapcast been detected by google Chrome extension, unfortunately, when I try to send something, I get an error message saying that chomecast is disconnected.