TheGreenToaster
TheGreenToaster

Reputation: 157

Chromecast Network I/O Error

When trying to substitute my App ID for "TicTacToe" in the example from gethub I get the error:

castApplicationSessionDidFailToStartWithError: failed to start application (com.google.GCKFramework.GCKApplicationSessionError); caused by: network I/O error (com.google.GCKFramework.GCKNetworkRequestError)

I have whitelisted my device and checked the box in settings to send the serial number to Google.

Im not sure how much difference it makes but my App ID is formatted like a URL. For example:

"http://example.co/Chromecast/test.html"

Thank you for the help.

Edit:

This is the line of code I altered in an attempt to cast.

Im not sure what goes here. I have tried both the http and the Hex ID

static NSString * const kReceiverApplicationName = @"TicTacToe";

Upvotes: 0

Views: 224

Answers (1)

Leon Nicholls
Leon Nicholls

Reputation: 4646

The App ID should be a string with hex characters like: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Contact Google using the email address provided to you when you got the whitelisted information.

Upvotes: 1

Related Questions