Chromecast “StartApplicationRequest failed with status: -4”

荒凉一梦 提交于 2019-12-05 09:19:19
koush

I found the answer here:

unable to cast to personal whitelisted receiver app

Using the Chromecast app on my Macbook, I went into Settings.

  • Send serial number when Checking for updates
  • Reboot device the device using the Mac update app

This resolved the error for me. The chromecast doesn't know if it is whitelisted unless you send the serial during update checks.

I think I see what's missing! In your receiver you gave a link to, you have:

var receiver = new cast.receiver.Receiver(
    'GoogleCastSampleApp', 
    [cast.receiver.RemoteMedia.NAMESPACE],
    "",
    5);

But it should be (fill in the 'YOUR APP ID HERE' with your App ID)

var receiver = new cast.receiver.Receiver(
    'YOUR APP ID HERE', 
    [cast.receiver.RemoteMedia.NAMESPACE],
    "",
    5);

I am running into the same error as well. I after setting the Chromecast to send the serial when checking for updates I was finally able to access the debugger one port 9222. Unfortunately, I don't see anything happen on the Chromecast at all when I select it from the device list on my Nexus and try sending one of the demo videos.

Something I noticed and I don't know it makes difference or not but if you whitelist a domain in the GoogleCast extension for Chrome and you include the "http://" it will cause the injection to not work. I wonder if this is the problem with the look up that the Chromecast performs as I submitted my URLs to Google with the http:// prepended. Again I am not sure this should really make a difference but I plan on trying to resubmit the URLs just to see.

Install cURL in your windows machine from here

Now make sure that your device and laptop are in same network.

Now go to command prompt, type curl -d "" http://:8008/apps/YouTube

there If it gets casted automatically to TV then instead of YouTube put your appid and try.

If not then your router is blocking some traffic.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!