ios DemoCast播放器Chromecast“不支持应用”

时间:2013-10-28 04:31:08

标签: ios google-cast chromecast

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

   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 ? 

由于

1 个答案:

答案 0 :(得分:2)

你的应用程序周围有额外的“[”和“]”,请从任何地方删除它们,包括从你的接收器文件中删除它们,然后再试一次。