unable to cast to personal whitelisted receiver ap

2019-04-10 20:25发布

I have successfully used the Android TicTacToe app to cast to the TicTacToe receiver app (AppID "TicTacToe"), using unmodified code from the TicTacToe example on github.

Next, I tried to use my personal receiver app. I got the email a couple of hours letting me know that my device was whitelisted and providing the AppID. I put the AppID in line 90 on GameActivity.java (not line 91, as stated in the instructions), and I also put it in line 35 of tictactoe.html (this step was missing from the instructions, but I assume it is needed). I also followed all steps in the Common Errors section of the instructions.

When I click the Start button in the Android app, the Tic-Tac-Toe board appears in the Android app, but the Chromecast device does not noticeably react.

Here is the LogCat:

07-28 00:13:47.776: W/StartSessionTask(10892): StartApplicationRequest failed with status: -4
07-28 00:13:47.826: E/ApplicationSession(10892): StartSessionTask failed with error: failed to start application: request failed
07-28 00:13:47.826: D/GameActivity(10892): start session failed: failed to start application: request failed

3条回答
时光不老,我们不散
2楼-- · 2019-04-10 20:36

Try checking the box that says "Send this Chromecast's serial number when checking for updates".

Mine didn't work at first, after doing this and restarting mine seemed to pick up the whitelisted appID.

As mentioned by the author of question: Make sure to do from ChromeOS, Windows or Mac OSX client until they fix the issue from Android app.

Clients can be downloaded here: https://cast.google.com/chromecast/setup

查看更多
Animai°情兽
3楼-- · 2019-04-10 20:49

I tried Aaron's answer several times (was finally able to get the setting to stick using the Chromecast Mac app) but it still was giving this same error.

Then, I discovered I actually uploaded the receiver file to the wrong url. So double check which url was actually whitelisted!

Though even after fixing the url it still was broken. So I think I must have entered the wrong serial number when I made the whitelist request. I resent the whitelist request and the new app ids are working properly.

查看更多
▲ chillily
4楼-- · 2019-04-10 20:52

This was fixed for me after I restarted the chromecast by removing power.

查看更多
登录 后发表回答