Repository navigation
OpenXPlay Relay for Android 0.1.5-beta.1
Pre-release
Pre-release
·
449 commits
to main
since this release
Android app: CarPlay audio over the car's Bluetooth (experimental), video statistics on the home screen, and H.265 for browsers and Carlink. · 安卓应用:实验性的「通过车辆蓝牙播放 CarPlay 音频」、首页视频统计,以及浏览器和 Carlink 的 H.265。
New
- Android app: Settings → Sound → CarPlay audio over the car's Bluetooth (experimental), off by default. With it on, the relay offers the iPhone no CarPlay audio, so music, navigation and calls play over the iPhone's own Bluetooth connection with the car instead of through the relay. Keep the iPhone paired with the car and choose Bluetooth as the car's audio source. It applies on the next CarPlay start and is also on the admin page.
- Android app: video statistics on the home screen. Settings → CarPlay picture → Video statistics: Off (default), Last 5 s or Last 15 s. The card shows the iPhone's codec, size, frame rate and bit rate; for Carlink, passthrough or transcoding, frame rate, dropped frames, the head-unit screen and send stalls; for each browser, frame rate, dropped frames, decode time and latency. Off measures nothing.
- Android app: H.265 video. Settings → CarPlay picture and the head-unit page share one Video codec setting: Automatic, Force H.265 or Force H.264. Automatic uses H.265 when every head-unit browser showing CarPlay decodes it in hardware and the Carlink output does not need H.264, and falls back to H.264 until the app restarts if the iPhone's H.265 stream stalls. A forced choice applies at once with one CarPlay restart.
- Android app: Carlink sends the iPhone's H.265 picture unchanged to head units that report H.265 support: no transcoding on the phone, smoother motion (up to about 60 fps) and lower latency. Other head units keep H.264. With Automatic, the app picks H.265 when the Carlink head unit decodes it.
- Android app: Developer → Carlink H.265: Automatic (default), Off (always H.264) or Signal in M4 (experimental).
- Android app: the developer screen and the admin page show the codec in use and why it was chosen.
- Android app: Home and the CarPlay screen say why the browser connection is down: the port is in use (another copy of the app may be running), the web service failed to start, or the phone is not on a network the head unit can reach.
- Android app: the Carlink debug trace records the head unit's own identity (manufacturer, product, Carlink version).
Changes
- Android app: a change of the phone's network no longer restarts the web receiver or drops the head-unit page. The certificate is renewed only when an address the head unit uses is not covered yet, and open pages keep their connection when it is.
- Android app: when the web receiver fails to start, the app keeps retrying instead of giving up.
- Head-unit page (Android relay): the relay-wide Video codec setting replaces the per-browser "H.264 only" option.
- Carlink: fixes a black screen with sound on head units that only recognise key frames at the very start of a frame. Thanks to @PicoHug.
- Carlink: the picture comes back after the head unit shows the reverse camera.
- Carlink: when a head unit's pairing key changes, for example after a head-unit reset, the app asks for the PIN again instead of needing a reinstall. Thanks to @PicoHug.
- Carlink: only voice and phone-call audio use the head unit's voice channel, so keyboard clicks no longer pause music. Thanks to @PicoHug.
- Carlink: steadier audio timing after video changes, and no repeated key-frame requests when the iPhone resends the same video settings. Thanks to @PicoHug.
Notes
- This is a beta for testing. It is not marked as the latest release; the latest-download link still gives 0.1.3.
- Test builds are now published as betas (
-beta.N). The 0.1.4 release candidates have been withdrawn; this beta includes everything in them. - The Android app and the Linux relay are released separately: tags
android-v…andlinux-v…. - Known issues: CarPlay audio over the car's Bluetooth is not yet verified on a car, because the iPhone has to keep its Bluetooth audio link with the car while its wireless CarPlay session runs with the relay; navigation prompts and ringtones over Carlink may be silent (not yet verified); re-pairing after a head-unit key change starts without asking you first, and a confirmation step will follow; on Carlink head units that need H.264, the phone's transcoder can stop after a timestamp jump and then sends the original stream.
- The Android package name is
org.openxplay.relay. You supply your own Apple accessory (MFi) identity; no build contains one.
新增
- 安卓应用:「设置 → 声音 → 通过车辆蓝牙播放 CarPlay 音频(实验性)」,默认关闭。打开后,中继不向 iPhone 提供 CarPlay 音频,音乐、导航和通话改由 iPhone 自己与车辆的蓝牙连接播放,不再经过中继。请保持 iPhone 与车辆配对,并将车辆音源设为蓝牙。下次启动 CarPlay 时生效,管理页面也可以设置。
- 安卓应用:首页视频统计。「设置 → CarPlay 画面 → 视频统计」:关闭(默认)、近 5 秒、近 15 秒。卡片显示 iPhone 的编码、尺寸、帧率和码率;Carlink 的直通或转码、帧率、丢帧、车机屏幕和发送阻塞;每个浏览器的帧率、丢帧、解码时间和延迟。关闭时不做任何统计。
- 安卓应用:支持 H.265 视频。「设置 → CarPlay 画面」和车机网页共用一个「视频编码」设置:自动、强制 H.265、强制 H.264。「自动」在所有显示 CarPlay 的车机浏览器都能硬件解码 H.265、且 Carlink 输出不需要 H.264 时使用 H.265;如果 iPhone 的 H.265 画面卡住,会改用 H.264,直到应用重启。选择强制编码会立即生效,CarPlay 重启一次。
- 安卓应用:车机声明支持 H.265 时,Carlink 直接发送 iPhone 原始的 H.265 画面,手机不再转码,画面更流畅(最高约 60 fps),延迟更低。其他车机照旧使用 H.264。「视频编码」为「自动」时,若 Carlink 车机能解码 H.265,会自动选择 H.265。
- 安卓应用:「开发者 → Carlink H.265」:自动(默认)、关闭(始终 H.264)、在 M4 中声明(实验)。
- 安卓应用:开发者页和管理页面显示当前使用的编码及选择它的原因。
- 安卓应用:首页和 CarPlay 页面会说明浏览器连接不可用的原因:端口被占用(可能有另一个应用副本在运行)、网页服务启动失败,或手机不在车机能访问的网络上。
- 安卓应用:Carlink 调试记录会记下车机自报的身份信息(厂商、产品、Carlink 版本)。
变更
- 安卓应用:手机网络变化时不再重启网页服务,车机网页也不会断开。只有车机使用的地址还不在证书里时才会更新证书,更新时已打开的网页保持连接。
- 安卓应用:网页服务启动失败时会持续重试,不再放弃。
- 车机网页(安卓中继):中继统一的「视频编码」设置取代了每个浏览器单独的「只用 H.264」选项。
- Carlink:修复部分车机有声音但画面全黑的问题,这类车机只在一帧的最开头识别关键帧。感谢 @PicoHug。
- Carlink:车机显示倒车影像后,画面能恢复。
- Carlink:车机配对密钥变化后(例如车机重置),应用会重新要求输入 PIN,不再需要重装。感谢 @PicoHug。
- Carlink:只有语音和通话音频使用车机的语音通道,打字声不再让音乐暂停。感谢 @PicoHug。
- Carlink:视频变化后音频时间更稳定;iPhone 重复发送相同视频参数时不再反复请求关键帧。感谢 @PicoHug。
说明
- 这是供测试的 beta 版本,没有标记为最新版本;「下载最新版」链接仍然是 0.1.3。
- 测试版本今后以 beta(
-beta.N)发布。0.1.4 的候选版本已撤下,本 beta 包含它们的全部内容。 - 安卓应用和 Linux 中继分开发布,标签分别为
android-v…和linux-v…。 - 已知问题:「通过车辆蓝牙播放 CarPlay 音频」尚未在实车上验证,因为 iPhone 需要在与中继进行无线 CarPlay 的同时,保持和车辆的蓝牙音频连接;Carlink 上的导航播报和铃声可能没有声音(尚未验证);车机密钥变化后的重新配对不会先征求你的确认,后续会加上确认步骤;在需要 H.264 的 Carlink 车机上,手机转码在时间戳跳变后可能停止,随后改为发送原始画面。
- 安卓应用的包名是
org.openxplay.relay。Apple 配件(MFi)身份需要你自己提供,任何构建都不包含。
Built from OpenXPlay-Relay@359e52715295, OpenXPlay-Stream@356a3f56c0e0 and OpenXPlay-DiPlay@aee4c5a03fed.
openxplay-relay-0.1.5-beta.1.apk: the Android app. Signing certificate SHA-256:fca7b492d0feb3a8401eba8dec5b71766415ea6154aed36c9d1838c4c6a186dbopenxplay-relay.apk: the same app under a fixed name, for the latest-download link.SHA256SUMS: SHA-256 checksums of these files.
Setup: https://openxplay.org/en/quick-start · 设置:https://openxplay.org/quick-start. No build contains an Apple accessory (MFi) identity; supply your own.