0

在将我的 chromcast 列入白名单并收到应用程序 ID 后。我从 github 和 ios SDK 下载了 DemoCastPlayer。以下是我设置和运行应用程序的步骤

   1) set up the ios project with the cast framework,
      changed [YOUR_APP_NAME]  with google supplied app ID
   2) In the app bundle Root.plist changed Default Value to point to 
      http://mywebiste.com/cc/rcvr/media.xml
   3) I uploaded the example receiver.html with the app ID & medial.xml to my website 
       https://mywebiste.com/rcvr/receiver.html 


  Unfortunately Im getting the following Error white Discovering the Devices :

   scanStarted

   -[GCKNetworkRequest performHTTPGet:timeout:]  started GET request 
    for: http://192.168.1.101:8008/ssdp/device-desc.xml

   -[GCKNetworkRequest httpRequest:didCompleteWithStatusCode:finalURL:headers:data:]  
     httpRequest:didCompleteWithStatusCode:200:data:1082 bytes

   -[GCKNetworkRequest performHTTPGet:timeout:]  
     started GET request for: http://192.168.1.101:8008/apps/%5B7a479924-b922-41a0-ae85-05b27a9582b1%5D

   -[GCKNetworkRequest httpRequest:didCompleteWithStatusCode:finalURL:headers:data:] 
    httpRequest:didCompleteWithStatusCode:404:data:0 bytes

   **-[GCKApplicationSupportFilterListener networkRequest:didFailWithError:] 
     Device <0x1fda9d70:GCKDevice> Chromecast0704 (64cb88c8-9617-8099-8d1c-8218b784ae25)
     does not support app [7a479924-b922-41a0-ae85-xxxxxxxxxxxx]**

  I doubled checked that both my receiver.html file and ios application have the same ID 
   and the send chromcast serial number to google is set . 

  Any Idea how to solve that issue ? 

谢谢

4

1 回答 1

2

您的 appId 周围有多余的“[”和“]”,请将它们从任何地方删除,包括从您的接收器文件中删除,然后重试。

于 2013-10-28T06:05:27.370 回答