Skip to content

Releases

v1.1.23 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 21 Nov 09:01

中文

Intel / AMD 电脑请选择 windows-x64,Windows on ARM 请选择 windows-arm64。从 1.1.2 升级时,请先从系统托盘退出旧版,再将新包解压到独立目录,运行 start.bat。发行包已内置 Java 和 GStreamer。

设备发现与启动

  • 修复部分 Windows 电脑启动后闪退的问题。使用 airplay.networkInterface=auto 时,如果 Bonjour 无法绑定首选网卡,接收器会继续尝试其他可用的 IPv4 地址,并在第一个成功的地址上广播。
  • 如果所有地址都失败,启动窗口会列出尝试过的网卡、IP、系统错误和配置文件位置,方便手动选择与手机同网的网卡。
  • 重复打开 Java AirPlay 会唤起已运行的窗口,避免同一用户启动多个接收器后,iPhone 的“屏幕镜像”中出现 Java AirPlay (2) 等重复名称。“保存并重启”失败时,设置窗口也会显示具体原因,并尝试恢复原接收器。

高分辨率镜像与播放

  • 主窗口和独立视频窗口现在显示收到的视频分辨率、编码格式和实测帧率。连接初期会显示“正在检测”,鼠标悬停在主窗口状态栏上可查看请求的显示参数。
  • 开启实验性 HEVC 并将宽、高都设为 auto 时,接收器会请求 3840×2160。手动填写的尺寸继续生效,airplay.fps=auto 仍请求 60 FPS。实际发送的分辨率和帧率由 iPhone 或 iPad 决定。
  • 自动选择的 D3D11 / D3D12 硬件解码器遇到不支持的画面尺寸时,会保留原分辨率并切换到软件解码。这也适用于竖屏画面,例如硬解能处理 2796×1290、却无法处理旋转后的 1290×2796。重新连接时会再次尝试硬解。

Windows ARM64 仍为实验性支持。反馈问题时,请附上 %USERPROFILE%\.java-airplay\java-airplay.log;如果遇到黑屏,也请注明设备型号及横屏或竖屏状态。提交反馈


English

Choose windows-x64 for Intel or AMD PCs and windows-arm64 for Windows on ARM. When upgrading from 1.1.2, quit the old receiver from the system tray, extract the new ZIP to a separate folder, and run start.bat. Both packages include Java and GStreamer.

Discovery and startup

  • Fixed a startup failure on Windows when Bonjour could not bind to the preferred network adapter. With airplay.networkInterface=auto, the receiver tries other available IPv4 addresses and advertises on the first one that succeeds.
  • If every attempt fails, the startup dialog lists each adapter, its IP address, the Windows error, and the settings file path so you can select the adapter connected to your phone’s LAN.
  • Opening Java AirPlay again brings the existing window forward. This prevents duplicate receivers such as Java AirPlay (2) from appearing in Screen Mirroring. If Save and restart fails, Settings shows the cause and attempts to restore the previous receiver.

High-resolution mirroring and playback

  • The main and detached video windows now show the incoming resolution, codec, and measured frame rate. Values appear as they are detected. Hover over the main window’s video status to see the requested display settings.
  • With experimental HEVC enabled and both dimensions set to auto, the receiver now requests 3840×2160. Explicit dimensions are preserved, and airplay.fps=auto still requests 60 FPS. The iPhone or iPad chooses the actual resolution and frame rate.
  • If an automatically selected D3D11 or D3D12 hardware decoder cannot handle the incoming dimensions, playback switches to software decoding at the original resolution. This also covers portrait streams that exceed the decoder’s height limit after rotation. Hardware decoding is tried again on the next connection.

Windows ARM64 support remains experimental. When reporting a problem, please attach %USERPROFILE%\.java-airplay\java-airplay.log. For a black screen, include the device model and whether it was in portrait or landscape. Report an issue

v1.1.2 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 17 Sep 10:37

中文

请按电脑架构选择发行包:Intel/AMD 下载 windows-x64,Windows on ARM 下载 windows-arm64。解压后运行 start.bat。

Windows ARM64

  • 目前缺少可用来验证和修改的样本机型,ARM64 仍处于实验阶段。
  • 如果你在使用中遇到问题,请到 Issues 提交日志、SoC/GPU 信息和一段简短播放样本。

网络发现 (issue #8)

  • 修复电脑有多块网卡(尤其是 Hyper-V / WSL 的 vEthernet)时,iPhone 能看到接收器但连不上的问题。
  • AirPlay 现在只在一块网卡上广播。默认 auto 会优先选择真实局域网私有地址,并跳过虚拟网卡。
  • 检测到多块可用局域网网卡时,启动日志会给出警告并说明当前选用的网卡。
  • 设置中新增 网络适配器 选项,可手动指定用于发现的网卡。保存后需重启生效。

配置项:airplay.networkInterface=auto

其他

  • 版本更新至 1.1.2。

English

Download the ZIP that matches the PC: windows-x64 for Intel/AMD, or windows-arm64 for Windows on ARM. Extract it and run start.bat.

Windows ARM64

  • ARM64 remains experimental. We currently lack sample devices to validate and iterate on this architecture.
  • If you hit problems, please open an issue with logs, SoC/GPU details, and a short playback sample.

Discovery (issue #8)

  • Fixed iPhone seeing the receiver but failing to connect when the PC has multiple NICs, especially Hyper-V / WSL vEthernet adapters.
  • AirPlay is now advertised on a single interface. Default auto prefers a physical private LAN address and skips virtual adapters.
  • If more than one LAN adapter is usable, startup logs a warning and names the adapter in use.
  • Settings now includes Network interface so you can pick the discovery adapter. Restart after saving.

Property: airplay.networkInterface=auto

Other Changes

  • Updated the project version to 1.1.2.

v1.1.1 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 14 Sep 18:20

中文

请按电脑架构选择发行包:Intel/AMD 下载 windows-x64,Windows on ARM 下载 windows-arm64。解压后运行 start.bat。

播放 (issue #7)

  • 修复默认 均衡(balanced) 挡位掉帧、画面比低延迟/画质更卡的问题。
  • 均衡档仍按时钟同步防撕裂,解码队列不再在等待出帧时丢掉下一张要显示的画面。
  • 显示跟不上时,改为仅对迟到帧用 qos 追赶,而不再误伤按时到达的帧。

其他

  • 版本更新至 1.1.1。

English

Download the ZIP that matches the PC: windows-x64 for Intel/AMD, or windows-arm64 for Windows on ARM. Extract it and run start.bat.

Playback (issue #7)

  • Fixed the default balanced mode dropping frames and looking more stuttery than low-latency and quality.
  • Balanced still uses clock sync to prevent tearing, but the decoded-frame queue no longer discards the next frame while waiting to present.
  • When display falls behind, catch-up now uses qos on late frames only, instead of dropping on-time frames.

Other Changes

  • Updated the project version to 1.1.1.

v1.1.0 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 10 Sep 18:02

中文

!!!请切记区分x64包和Arm包!!!

请按电脑架构选择发行包:Intel/AMD 下载 windows-x64,Windows on ARM 下载 windows-arm64。解压后运行 start.bat,无需另外安装 Java 或 GStreamer。

Windows ARM64 发行包

  • 新增独立的 Windows ARM64 发行包,内置对应架构的精简 Java 25 runtime 与 GStreamer。
  • Windows ARM64 目前处于实验阶段。 如果你在使用,请到 Issues 提交日志、SoC/GPU 信息和一段简短播放样本。

硬件解码

  • 自动选择顺序:D3D12 → NVDEC → D3D11,再尝试 VideoToolbox / VAAPI / V4L2 / Vulkan,最后回退软件解码。
  • NVDEC 现在还要求存在 cudadownload,避免 CUDA 帧无法送到显示路径。
  • Vulkan 路径改为 vulkancolorconvert ! vulkansink,避免 NV12 Vulkan 图像直接接到 RGB sink。
  • Windows 运行时按 JVM 架构查找 x86_64 或 arm64 GStreamer,不再把 ARM64 误指向 x64 runtime。
  • 设置界面解码器列表新增 v4l2slh264dec。

运行时

  • 修复探测可选硬件插件时,Windows PowerShell 5.1 因 native stderr 直接退出、无法回退的问题。
  • 源码启动会按当前架构准备项目内 GStreamer runtime。

其他

  • 版本更新至 1.1.0。
  • 新增 Windows 架构探测与 Vulkan 管线相关测试。

致谢

感谢 @NekoAria 通过 #6 修复缺少可选 GStreamer 硬件解码器时的启动中断问题。


English

Download the ZIP that matches the PC: windows-x64 for Intel/AMD, or windows-arm64 for Windows on ARM. Extract it and run start.bat. Java and GStreamer do not need to be installed separately.

Windows ARM64 Package

  • Added a dedicated Windows ARM64 release with a matching compact Java 25 runtime and GStreamer build.
  • Windows ARM64 support is experimental. If you run it, please open an issue with logs, SoC/GPU details, and a short playback sample.

Hardware Decoding

  • Auto-selection order is now D3D12 → NVDEC → D3D11, then VideoToolbox / VAAPI / V4L2 / Vulkan, then software decode.
  • NVDEC now also requires cudadownload so CUDA frames can reach the display path.
  • The Vulkan path now uses vulkancolorconvert ! vulkansink instead of feeding NV12 Vulkan images into an RGB sink.
  • Windows runtime lookup follows the JVM architecture (x86_64 or arm64) and no longer points ARM64 hosts at the x64 GStreamer runtime.
  • Added v4l2slh264dec to the Settings decoder list.

Runtime

  • Fixed optional hardware-plugin probes aborting under Windows PowerShell 5.1 native stderr handling, which prevented decoder fallback.
  • Source launches now prepare a project-local GStreamer runtime for the current architecture.

Other Changes

  • Updated the project version to 1.1.0.
  • Added tests for Windows architecture detection and the Vulkan pipeline.

Acknowledgements

Thanks to @NekoAria for #6, which keeps startup from aborting when optional GStreamer hardware decoders are missing.

v1.0.9 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 31 Aug 09:19

中文

视频稳定性

  • 修复视频拥塞时丢弃压缩帧导致的花屏问题。
  • 默认模式保留所有 H.264/HEVC 编码帧,并通过 TCP 背压等待播放器恢复。
  • 修复视频队列阻塞超过 500 ms 后关闭视频连接的问题。
  • 视频背压期间音频仍可独立接收和播放。
  • 保留远端视频 PTS,改善恢复后的音画同步。
  • 降低未知视频包类型的日志级别,减少日志刷屏。

可选低延迟模式

新增配置:

player.gstreamer.aggressiveFrameDropping=false

该选项也可在设置界面中开启。

  • 默认关闭,优先保证画面完整性。
  • 开启后会在拥塞时丢弃编码帧,以降低延迟。
  • 可能因丢失参考帧而出现花屏,花屏可能持续到发送端重新连接。

实时 FPS

  • FPS 改为基于最近 1 秒发送端时间戳的滚动窗口计算。
  • 每 0.5 秒更新一次。
  • 能更快反映发送端帧率变化。
  • 时间戳异常或跳变时自动重建统计窗口。

窗口和显示

  • Fit-to-Window 根据实际视频分辨率适配横屏和竖屏画面。
  • 修复视频窗口 Detach/Attach 后黑屏的问题。
  • 移动视频 Canvas 时优先重新绑定现有 GStreamer 视频窗口。
  • 改善 D3D12 视频窗口重新绑定时的稳定性。
  • 改善暗色主题、选中状态、禁用按钮和中文界面的显示效果。

其他

  • 版本更新至 1.0.9。
  • 新增视频背压、PTS 连续性、窗口重绑定、FPS 和 Fit-to-Window 测试。
  • 全量测试通过,1 项依赖本机环境的 native 测试跳过。

English

Video Stability

  • Fixed block corruption caused by dropping encoded frames under video backpressure.
  • The default mode now preserves all H.264/HEVC encoded frames and uses TCP backpressure while waiting for playback capacity.
  • Fixed the video connection being closed when the video queue remained blocked for more than 500 ms.
  • Audio ingestion and playback remain independent while video is backpressured.
  • Preserved remote video PTS to improve audio/video synchronization after recovery.
  • Reduced the log level for unknown video packet types to avoid log flooding.

Optional Low-Latency Mode

Added:

player.gstreamer.aggressiveFrameDropping=false

This option is also available in the Settings window.

  • Disabled by default to prioritize video integrity.
  • When enabled, encoded frames may be dropped under pressure to minimize latency.
  • Dropping reference frames may cause block corruption that can persist until the sender reconnects.

Real-Time FPS Measurement

  • FPS is now calculated using a rolling window of the sender's most recent 1 second of timestamps.
  • Measurements are updated every 0.5 seconds.
  • Frame-rate changes are reflected more quickly.
  • Timestamp discontinuities automatically start a new measurement window.

Window and Display Improvements

  • Fit-to-Window now adapts to the actual stream resolution for both landscape and portrait video.
  • Fixed a black screen after detaching and reattaching the video window.
  • Rebinds the existing GStreamer video surface when the Canvas moves between windows.
  • Improved D3D12 video sink stability during window reparenting.
  • Improved dark-theme contrast, selected states, disabled buttons, and Chinese UI layout.

Other Changes

  • Updated the project version to 1.0.9.
  • Added tests for video backpressure, PTS continuity, window rebinding, FPS measurement, and Fit-to-Window layout.
  • All tests pass, with one native environment-dependent test skipped.

v1.0.8-Beta Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 30 Aug 13:17

Java AirPlay 1.0.8-Beta Release Notes
New Features
Added English/Simplified Chinese language switching. The selected language takes effect immediately and is saved automatically.
Added a detached video window for separating the video from the main window.
The detached video window supports fullscreen mode. Press ESC to exit fullscreen.
Expanded system tray menu:

Open Main Window / Show Video Window / Fullscreen / Switch Language / Exit

The Chinese tray menu now uses Swing rendering, fixing an issue where it appeared as garbled squares on Windows.
Added support for high DPI, multiple monitors, and automatic taskbar avoidance.
Playback Improvements
Fixed an issue where the GStreamer video could not recover after moving the video canvas.
After restarting the video pipeline, the player now waits for a keyframe and resends H.264/H.265 parameter sets.
Fixed YouTube HLS playbin3 initialization failures.
Improved concurrency safety when pausing, resuming, replacing, and destroying HLS pipelines.
Improved resource cleanup for H.264 and HEVC decoding pipelines.
Improved shutdown handling for audio and video feeder threads.
Security and Stability
Strengthened authorization for RTSP/HTTP control interfaces when pairing is required.
HTTP sessions are now bound to the source address of the paired device.
Limited the number of HTTP sessions that a single device can create.
Strengthened validation of mlhls://localhost playlist URIs.
Fixed an incorrect time unit in audio retransmission throttling.
Fixed an issue where H.264 dump files might not be written completely.
Fixed cross-thread visibility issues in pairing state management.
Release and Testing
Updated the version to 1.0.8.
Windows release packages are now named:
java-airplay-.-windows-x64.zip

Release builds now run tests for all subprojects.
SHA-256 files are now tracked as Gradle outputs.
Added tests for Chinese tray fonts, HLS, authorization, session management, and English/Simplified Chinese resource consistency.
SHA-256:

e39ae4d7362993336c9a8c284dc3d04fd865650dbac2382a769962953df41692

If you encounter any problems, please submit an issue.
-----------------zh-cn-----------------
Java AirPlay 1.0.8-Beta 更新说明
新功能
新增英文/简体中文界面切换,语言选择即时生效并自动保存。
新增独立视频窗口,可将画面从主窗口分离。
独立视频窗口支持全屏,按 ESC 退出全屏。

扩展系统托盘菜单:
[打开主窗口/显示视频窗口/全屏/切换语言/退出]

中文托盘菜单改用 Swing 渲染,修复 Windows 下显示为 “□□□□“ 口口文学 的问题。
托盘菜单支持高 DPI、多显示器,并自动避让任务栏。
播放改进
修复视频画布移动后 GStreamer 画面无法恢复的问题。
重启视频管线后等待关键帧,并重新补发 H.264/H.265 参数集。
修复 YouTube HLS playbin3 初始化失败。
改进 HLS 管线暂停、恢复、替换和销毁时的并发安全。
完善 H.264 与 HEVC 解码管线的资源释放。
改进音视频 feeder 线程关闭流程。
安全与稳定性
加强需要配对时的 RTSP/HTTP 控制接口授权。
HTTP 会话现在与已配对设备的来源地址绑定。
限制单个设备可创建的 HTTP 会话数量。
加强 mlhls://localhost 播放列表 URI 校验。
修复音频重传节流时间单位错误。
修复 H.264 dump 文件可能未完整写入的问题。
修复配对状态跨线程可见性问题。
发布与测试

版本更新至 1.0.8。
Windows 发布包命名改为:
java-airplay-.-windows-x64.zip
Release 构建现在会执行所有子项目测试。
SHA-256 文件纳入 Gradle 输出跟踪。
增加托盘中文字体、HLS、授权、会话管理和中英文资源一致性测试
SHA-256:
e39ae4d7362993336c9a8c284dc3d04fd865650dbac2382a769962953df41692

如果有什么问题请提交issue

v1.0.8 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 30 Aug 17:38

Fixed some known issues

修复一些已知问题

v1.0.7 Standalone Environment Release Package

Choose a tag to compare

@Arc-Lira Arc-Lira released this 19 Aug 08:59