This project unites the java-airplay-lib, java-airplay-server and java-airplay-server-examples into one. It makes development a lot easier when all parts of the code are put together.
😩 Due to lack of free time and other priorities, this project is not actively maintained. 😩
- Raspberry pi 4 model B (1280 x 720 @ 24 fps)
- Windows laptop (1920 x 1080 @ 30 fps)
git clone https://github.com/serezhka/java-airplay
cd ./java-airplay
./gradlew bootRun
Download the latest release
java -jar java-airplay-server-{version}.jar
Create application.properties
file in working dir
# airplay
airplay.serverName=srzhka
airplay.width=1280
airplay.height=720
airplay.fps=24
# player (gstreamer, ffmpeg, vlc, h264-dump)
player.implementation=gstreamer
player.menu.enabled=true
player.gstreamer.swing=true
Supports both video and audio (alac + aac_eld) streams
Gstreamer installation is required (see https://github.com/gstreamer-java/gst1-java-core)
Supports only video stream because playback of aac_eld audio requires ffmpeg compilation with --enable-libfdk-aac
FFmpeg installation is required, ffplay must be on PATH
Playback stops after few seconds
VLC installation is required
Saves video stream into dump.h264 file