百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

java-airplay

> 编程语言
开源

演示 - Raspberry Pi 4 Model B (1280×720 @ 24 fps) - Windows 笔记本电脑 (1920×1080 @ 30 fps) 功能 - AirPlay 音频 + 屏幕镜像 - FairPlay 视频编码 - 可…

385 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

演示 - Raspberry Pi 4 Model B (1280×720 @ 24 fps) - Windows 笔记本电脑 (1920×1080 @ 30 fps) 功能 - AirPlay 音频 + 屏幕镜像 - FairPlay 视频编码 - 可…

Demo

  • Raspberry Pi 4 Model B (1280×720 @ 24 fps)
  • Windows laptop (1920×1080 @ 30 fps)

Features

  • AirPlay audio + screen mirroring
  • FairPlay decryption for mirrored streams
  • Playbacks: GStreamer, FFmpeg (ffplay), VLC
  • Optional session dump (protocol + decrypted media) for debugging

Quick start

From source

bash
git clone https://github.com/serezhka/java-airplay.git
cd java-airplay
./gradlew bootRun

Pre-built jar

Download the latest release, then:

bash
java -jar java-airplay-server-{version}.jar

Open Screen Mirroring on the iPhone / iPad / Mac and pick the receiver name (default from config, e.g. srzhka).

Configuration

Create application.properties in the working directory:

properties
# airplay
airplay.serverName=srzhka
airplay.width=1280
airplay.height=720
airplay.fps=24
# player (gstreamer, ffmpeg, vlc)
player.implementation=gstreamer
player.tray.enabled=true
# dump (optional sidecar)
dump.enabled=false
dump.directory=dumps
dump.protocol=true
dump.video=true
dump.audio=true
dump.playlist=true
dump.artwork=true
dump.videoFps=60

Playback

Pick a backend with player.implementation (gstreamer, ffmpeg, or vlc). Install the matching native player first.

GStreamer (recommended)

Best option for video and audio (including AAC-ELD mirroring audio).

Install: GStreamer documentation · Downloads

FFmpeg

Uses ffplay on PATH. Video works; mirroring audio is unreliable on stock builds (AAC-ELD usually needs a custom ffmpeg with libfdk-aac). Prefer GStreamer when you need audio.

Install: FFmpeg download

VLC

Very unstable in this project (sessions often drop). Use only for experiments.

Install: VLC download

Session dump

Set dump.enabled=true to record beside the live player under dumps/_/:

  • protocol/ — RTSP/HTTP captures
  • media/ — decrypted .h264 / remuxed .mp4, audio .caf / .aac
  • extras/ — HLS playlists, artwork, DMAP metadata when present

Related projects

This monorepo unites the former:

  • java-airplay-lib
  • java-airplay-server
  • java-airplay-server-examples

License

MIT

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言