Raspberry PI this level of MCU, can support 4K display, if you do not plug in the monitor a little bit of talent, plug in the monitor as a desktop computer performance is not good. So, building a TV box is by far the most valuable play I see. The basics of a TV box are AirPlay support. Here are two solutions for the Raspberry PI AirPlay receiver.

Solution 1: Kodi/LibreELEC

Kodi is an open source multimedia platform that you can install on any system. LibreELEC is a raspberry PI customization system for Kodi. LibreELEC is recommended by the Raspberry PI website. After turning on the phone, there is a TV operation interface directly, and there is a bluetooth remote control APP corresponding to the phone. DLNA and AirPlay can be enabled on Kodi, but AirPlay is limited to video projection. When you’re playing on a video app like Tencent Video or Bilibili, the player has a TV projection button that you can use to send videos to your TV — in this case, Kodi on Raspberry PI.

Kodi doesn’t stop there. It’s basically an entire TV system where you can install all kinds of TV apps and games. It even works as a photo album, and you can add Internet TV and radio channels. However, these TV channels have little domestic play, and if you have an agent, it opens the door to a new world. Of course, this kind of free lunch, also must need the indomitable toss toss spirit to be able to play turn.

Installation method

One: You can install Kodi on Raspberry Pi OS as an application.

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi
Copy the code

However, this way according to my attempt, the performance is not quite up. This is the value of LibreELEC.

2: LibreELEC

Download libreec. TV /downloads_n…

Scheme 2: RPiPlay

For example, if you need to turn a wired projector into a wireless one, plug in the raspberry PI and use AirPlay mirror to project the computer’s screen onto it. However, due to the TV nature of Kodi, AirPlay image projection is not supported. To mirror screen casting, there’s another thing you can do. It’s RPiPlay. It’s not a whole system like Kodi. It’s just an app. Once the command line is up, it is searchable on the MAC system, and you can choose to cast a mirror or split screen.

Actually, my starting point is that my black Apple laptop does not support HDMI, but I want to connect to an external monitor, so I came up with a wireless solution. Although this method is successful, but the delay is very high. When I plugged the Raspberry PI in, the speed was much better, but there was still a 0.5 second delay. Try plugging in an Internet cable to your computer next time.

Installation method

Github has detailed operations, which I can sort out as follows.

Execute the following command from the Raspberry Pi OS terminal.

git clone https://github.com/FD-/RPiPlay.git
cd RPiPlay

sudo apt-get install cmake
sudo apt-get install libavahi-compat-libdnssd-dev
sudo apt-get install libplist-dev
sudo apt-get install libssl-dev
mkdir build
cd build
cmake ..
make

sudo make install
Copy the code

The installation is complete. For the most basic usage, enter rpiplay -n PI to start the service. The -n parameter specifies the device name, which I specified as PI. After startup, you can search for the display device named PI.

Welcome to my personal blog for more