10

I would like to connect my Pi 3 to a ceiling mounted projector, and send display content to it wirelessly from a Windows PC. Using something like Miracast. I have found Piracast on github, but that is only for Pi 2, with a specific dongle. Is there anything similar for Pi 3 just using the built-in wifi instead of the dongle?

I plan to use a direct device to devive connection, with the Pi 3 set up as a wireless access point using hostapd.

LC1983
  • 163
  • 1
  • 1
  • 13

5 Answers5

23

I have developed lazycast that is designed to work on Raspberry Pi 3. lazycast follows (most of) the wifi display specification (commercially known as Miracast) and uses wifi p2p (commercially known as WiFi Direct) to set up a connection. I have tested it with Windows 8.1 and 10 sources. It requires no modification (using the built-in wifi) to the hardware and minimum modification to the system. I believe that this is exactly what you are looking for.

homeworkc
  • 246
  • 2
  • 4
3

PiCAST 3 is out, but from what I can tell only streams YouTube videos? I may be wrong, but I haven't have much experience with it. You can find it here:

https://github.com/lanceseidman/PiCAST

shairport-sync is an iDevice version which will allow you to setup AirPlay to stream audio to your device. However, if you are lucky enough to still be on iOS 8.xx you will also have the ability to mirror your display. Unfortunately, with the newest updates from Apple, the mirror functionality doesn't work from any devices running 9.xx + You can find it here:

https://github.com/mikebrady/shairport-sync

UV4L is another option. However, it looks as though it requires a bit more work to setup each time and isn't as simple as shairport-sync, but it does allow for video 'casting'. You can find it here:

http://www.linux-projects.org/uv4l/

OSMC has built casting that may work for an android device, being an apple user I am unable to test whether or not it works, but others have reported it working:

https://discourse.osmc.tv/t/cast-youtube-to-kodi-r-pi/7237

Brett Reinhard
  • 456
  • 1
  • 4
  • 14
3

According to this issue the wifi-chip of the rpi3 does support p2p connections (WiFi direct). So the hardware is in principle capable of Miracast/Wireless Display.

Piracast seems abandoned but there is a project working on a Miracast implementation for GNU/Linux Systems: MiracleCast.

2

Providing that you've set up your Pi's wifi network (otherwise follow a tutorial on how to use hostapd), you can easily use the DLNA function built right into Windows to send media content from your PC to your Pi.

First, you want to be running Kodi on your pi. Then enable the UPnP client and connect to your pi's network from the PC. Then you want to right click media files that will now appear with a cast to option. Make sure you have enable network discovery! For streaming with other programs such as Edge, follow this.

Praveen K
  • 91
  • 5
2

Have a look at the UV4L demo and this post and the following posts on the Raspberry Pi forum for a working command line. I think UV4L is actually the simplest way, as it does not require any configuration. It can cast the screen, a tab, a window and the camera from Firefox plugin-free after having set the proper authorization (i.e. the host where UV4L is running) in the config/preferences.

sminkiom
  • 106
  • 2