Reputation: 4695
I am trying to the exact sample app (https://github.com/googlecast/CastHelloText-android) with my own package name, put the receiver code on my server.
I registered the app, and my device on the chromecast developer console.
When I try to launch the app, I get this error,
03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.tp.connection, dest=receiver-0) {"origin":{},"package":"gms_cast_mrp","type":"CONNECT"}
03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.receiver, dest=receiver-0) {"type":"GET_APP_AVAILABILITY","requestId":1,"appId":["69FFFAE0"]}
03-19 11:33:14.268: D/DeviceFilter(1060): onMessageReceived: gms_cast_mrp-21
03-19 11:33:14.268: D/DeviceFilter(1060): Received a protobuf: axm@426978b8
03-19 11:33:14.268: D/DeviceFilter(1060): Sending text message to chromecast: (ns=urn:x-cast:com.google.cast.tp.connection, dest=receiver-0) {"type":"CLOSE"}
03-19 11:33:14.268: D/DeviceFilter(1060): rejected device: "chromecast" (70e0019191420559fedfca4f6129b935)
03-19 11:33:14.278: D/CastSocket(1060): doTeardown with reason=0
Upvotes: 0
Views: 578
Reputation: 19094
Most likely your device was not correctly whitelisted. Did you check the box to send its serial number when you were setting up your chromecast? See this post in case it helps ...
Upvotes: 1