Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast button not showing #104

Closed
datcorona opened this issue Mar 30, 2021 · 2 comments
Closed

Cast button not showing #104

datcorona opened this issue Mar 30, 2021 · 2 comments

Comments

@datcorona
Copy link

image

@mohamad-jawad
Copy link

cast button only appears if there are chrome-cast devices nearby, if your tv doesn't has a built-in chrome-cast it will not be considered as available device.

And if you wonder why a tv with no built-in chrome-cast appears in youtube and Netflix dialog apps, it is because these 2 applications uses DIAL protocol to communicate with their tv-version app installed in the tv.

You can reference to this article to know how youtube and Netflix uses the DIAL protocol:

https://www.howtogeek.com/215791/use-your-tv%E2%80%99s-hidden-%E2%80%9Cdial%E2%80%9D-feature-to-cast-netflix-and-youtube-without-a-chromecast/#:~:text=and%20Privacy%20Policy.-,Use%20Your%20TV's%20Hidden%20%E2%80%9CDIAL%E2%80%9D%20Feature%20to%20Cast%20Netflix,and%20YouTube%20Without%20a%20Chromecast&text=Many%20modern%20smart%20TVs%20have,computer%20%E2%80%94%20without%20getting%20a%20Chromecast.

@jtromo
Copy link
Contributor

jtromo commented Apr 8, 2021

Please make sure you are running the app using a real device and not an emulator as discovery doesn't work on emulators.

Here is some additional information for integrating Cast: https://developers.google.com/cast/docs/android_sender/integrate?hl=en#initialize_the_cast_context

In addition to verifying that devices are on your network, if you are using your own receiver ID, be sure that either your devices are added or the receiver is published: https://cast.google.com/publish/#/overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants