android - can't find chromecast device using Google's sample app -


using code, https://github.com/googlecast/cast-android-sample, build android chromecast sample sender application.

and modified code use appid, , uploaded whitelisted url (already registered google).

but can't find chromecast device sample app. mean, ondeviceavailable() not getting called. , don't see suspicious error / log while running app.

  1. is there need try see why can't find chromecast device? (btw, youtube app in same device can find chromecast device)

  2. another question, may not related main question. registering device have app_id, , whitelisted url not mandatory step find chromecast device app. right? guess registration step needed media stream not device discovery.

  3. can share working sampleapp code / receiver.html? (for me make sure didn't make mistake..)

thanks!

did try tic-tac-toe android sample too? these 2 apps using different ways of displaying list of chromecast devices user.

both sample apps work fine me. used default reciever.html , added own app id.

technically not necessary register device discover on network. can try app find dial devices: https://github.com/entertailion/dial however, google cast api wraps dial discovery , might enforcing app id requirement.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -