Home

Awesome

balena-rpiplay

Turn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.

This project essentially creates a docker image wrapping RPiPlay and making it easily deployable to balena fleets.

Note:

Setup and Deployment

  1. You can simply join the balenaHub openFleet.

    • You don't need to signup for a balenaCloud account
    • Your device will keep running the latest releases
    • No control over configurations
  2. If you want to manage your own device and fleet, you can run this app is as simple as deploying it to a balenaCloud fleet.

    • You need to signup for a balenaCloud account
    • You manage your fleet and releases
    • You have total control over configurations

    You can do it in just one click by using the button below:

    balena deploy button

Configuration

The following Device Variables might be required for proper scaling and resolutions:

NameSupported ValuesDefaultDescription
AIRPIPLAY_NAMETextAir-Pi-Play@<hostname>Specify the network name of the AirPlay server
AIRPIPLAY_AUDIO_OUThdmi or analog or offhdmiSet audio output device
AIRPIPLAY_BACKGROUNDon or auto or offautoShow black background always, only during active connection, or never
AIRPIPLAY_LATENCY_MODE1 or 01Enables low-latency mode. Low-latency mode reduces latency by effectively rendering audio and video frames as soon as they are received, ignoring the associated timestamps. As a side effect, playback will be choppy and audio-video sync will be noticably off
AIRPIPLAY_ROTATION90 or 180 or 270not setSpecify image rotation in multiples of 90 degrees
AIRPIPLAY_FLIPhoriz or vert or bothnot setSpecify image flipping

Attribution