Вопрос

ChromeCast (google cast) can't find my app name.

I already registered the app in the whitelist.

I can find and launch apps/YouTube, apps/ChromeCast, apps/OldAppName,

but not apps/NewAppName.

Why so? How can I do any thing?

thanks a lot.

Sincoew


Hi Ali Naddaf, Thanks you for your reply. I already checked each step by your link again, My app ID is already in whitelist.

I used "//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js" in my receiver app.

but when I Invoke receiver use new app ID, It's return below Error on receiver source code. (google default)enter code here

    case Message.CODE.ERROR_NET_ABORTED:
return new Message(
      Message.getLocaleString('BrainFreeze'),
      Message.getLocaleString('Sorry'),
      Message.getLocaleString('ActivityAborted'));

On ChromeCast "receiver/1.0/cast_receiver.js", I can found my app use app ID, such as "192.168.xxx.xxx:8008/apps/AppID", This rule is still can work???

Thanks a lot. Sincoew


The error source code is in home screen, http://192.168.xxx.xxx:9222/devtools/devtools.html?xxxxxx "message.js" file, This is ChromeCast default home screen source code

I use below receiver:

//github.com/googlecast/cast-custom-receiver/blob/master/sample_media_receiver.html

sender:

1 //github.com/googlecast/cast-sender-tool-chrome
2 our iOS app sender, (google sample)

ps. default app is normal work, YouTube/ChromeCast/old app-ID(version 1.0 js) and I can found below page use browser,

"192.168.xxx.xxx:8008/apps/YouTube"
"192.168.xxx.xxx:8008/apps/Chromecast"
"192.168.xxx.xxx:8008/apps/old app-ID"

but can't found

"192.168.xxx.xxx:8008/apps/new app-ID"

Thanks a lot, Sincoew

Это было полезно?

Решение

Most likely your device is not whitelisted. You need to register your chromecast device for your appid and then, follow the instructions in this post to troubleshoot. Also read the development site for chromecast; it has valuable info.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top