0

クロムキャストをホワイトリストに登録し、アプリケーション 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 に答える