What is this error 7 with ios / application sample for google-cast?

I downloaded a sample ios chrome program, and when I connect the sample application to chromecast, it gives the following error:

error domain=com.google.GCKError code=7 "The operation couldn't be completed. (com.google.GCKError error 7.)"

Do you know why?

+3
source share
4 answers

I got the same error message when testing the "CastHelloText-ios" example provided by Google on GitHub.

First, I checked all the necessary steps described by Google in order:

  • In your browser developer’s console: Verify that Chromecast is Ready to Test, otherwise register it .
  • place the receiver somewhere on the Internet and pay attention to the URL
  • , URL- . .
  • iOS: static NSString * const kReceiverAppID = @ "1234ABCD";
  • , " Chromecast Google " ( iOS "" ).

, chromecast:

  • Chromecast iOS Google, , "" "".

, Google:

, , Google Cast, .

PS:  - , Google (iOS, Android, MAC ..).

+7

GCKErrorCodeApplicationNotFound. , [x] # Google AppID.

.

+2

[self.deviceManager launchApplication:kReceiverAppID];

:

[self.deviceManager launchApplication:kGCKMediaDefaultReceiverApplicationID];

kReceiverAppID AppID.

, GCKError.h,

+2

. , Chromecast . .

0

All Articles