|
53 | 53 | </script></nav></div><div class="container mainContainer"><div class="wrapper"><div class="post"><header class="postHeader"><h1 class="postHeaderTitle">Troubleshooting</h1></header><article><div><span><h2><a class="anchor" aria-hidden="true" id="can-t-see-cast-button-no-cast-devices-available"></a><a href="#can-t-see-cast-button-no-cast-devices-available" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Can't see Cast Button / No Cast Devices Available</h2>
|
54 | 54 | <p>This is by far the most common problem with this library. Before creating an issue, please read through this list of known solutions to see if anything helps:</p>
|
55 | 55 | <ul>
|
56 |
| -<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube are able to Cast, they're in fact communicating directly with their counterpart app on the TV, not using the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p> |
| 56 | +<li><p>Most TVs don't support the native Cast SDK protocol, so even if it appears that apps like YouTube and Netflix (and the Chrome browser) are able to Cast, they're in fact communicating directly with their counterpart app on the TV using <a href="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">DIAL</a>, not the Cast SDK. Officially, only Chromecast, Android TV, and devices with the official Chromecast logo are supported by the SDK.</p> |
57 | 57 | <p>To check if your device is supported:</p>
|
58 | 58 | <ul>
|
59 |
| -<li><p>Test if you can <a href="https://support.google.com/chromecast/answer/3228332">Cast from Chrome browser</a>.</p></li> |
60 | 59 | <li><p>Test with the reference <a href="https://github.com/googlecast/CastVideos-ios">CastVideos-ios</a> or <a href="https://github.com/googlecast/CastVideos-android">CastVideos-android</a> apps.</p></li>
|
61 | 60 | <li><p>Try the Google Home, Google Photos, or another Cast-enabled app to make sure they can see the Cast device you're trying to connect to.</p></li>
|
62 | 61 | </ul>
|
|
66 | 65 | <li><p>If using a custom receiver application in the <a href="https://cast.google.com/publish">Google Cast SDK Developer Console</a> that's Unpublished, make sure you register your device in the <strong>Cast Receiver Devices</strong>. Once you do that, you need to wait about 15 minutes and then restart your Cast device.</p></li>
|
67 | 66 | <li><p>Check the Debug log in Xcode or Android Studio for any warnings and errors.</p></li>
|
68 | 67 | <li><p>(Android) Make sure the device has Google Play Services available and that you initialize <code>CastContext.getSharedInstance(this);</code> in your <code>MainActivity</code>'s <code>onCreate</code>.</p></li>
|
69 |
| -<li><p>(Android) If using an <strong>emulator</strong>, due to it running as a virtual machine with its own network, you might need to configure NAT for the virtual device. If you cannot see any Cast devices on the emulator, please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li> |
| 68 | +<li><p>(Android) <strong>emulators</strong> are <a href="https://github.com/googlecast/CastVideos-android/issues/104#issuecomment-816290407">not supported</a>. Please test with a real Android device before reporting an issue. Alternatively, you may try using <a href="https://www.genymotion.com/">Genymotion</a> but note it <a href="https://support.genymotion.com/hc/en-us/articles/360017897157-Does-Genymotion-Desktop-work-on-Mac-M1-">doesn't support M1/ARM Macs yet</a>.</p></li> |
70 | 69 | <li><p>(iOS) Make sure you've enabled the <strong>Access WiFi Information</strong> capability.</p></li>
|
71 | 70 | <li><p>(iOS) If you disabled discovery autostart in <a href="./setup#ios">iOS Setup</a>, make sure you call <a href="../api/classes/discoverymanager#startdiscovery">startDiscovery</a> somewhere in your JS code.</p></li>
|
72 | 71 | <li><p>(iOS 14+) Double check that you've configured Bonjour services in <code>Info.plist</code>.</p></li>
|
|
0 commit comments