homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
689 stars 89 forks source link

Android cast screen can't find lazycast #5

Closed zvonimirfras closed 5 years ago

zvonimirfras commented 5 years ago

lazycast successfully runs on RPi3, says it's ready and displays a pin.

When I go to "Cast screen" on my Android device it just keeps searching for the device and never finds anything. I tried with 3 different devices, that are able to connect to other sinks.

Not sure what to do next or how to debug it.

homeworkc commented 5 years ago

It is a bit complicated in the case of Android. Google seems to drop the native support for Miracast in recent Android (6 and later) in order to promote the Chromecast (which is a very different technology from Miracast). There may be ways to enable Miracast for newer phones but those heavily depend on what device you want to use.

zvonimirfras commented 5 years ago

I tried it with a 3rd party (Screen Stream Mirroring) under "Miracast" setting too, it didn't find it.

Is there something I can try to verify that it is actually an Android problem rather than something in my configuration?

zvonimirfras commented 5 years ago

It took some fiddling with pi's wifi settings, among other things setting the country in wifi localization settings.

rahuls4 commented 4 years ago

Hi Zzvonimirfras.. I am also facing the same issue with android device. Were you able to find a solution for the same

zvonimirfras commented 4 years ago

Hi @rahuls4,

as I mentioned in the last comment, it was fiddling with pi's wifi settings. Big thing was setting the country in the localization settings. I'm not sure if there are others that affect this, I tried many things.

homeworkc commented 4 years ago

@rahuls4 if you are using Raspbian Buster. Try downgrading the wpasupplicant package to the version for Raspbian Stretch. See this. I have updated the README and I plan to write detailed instructions and make new releases soon.