Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ license terms for direct third-party dependencies are listed in
THIRD-PARTY-LICENSES.md. Preserve this file with every distributed build.

==== End of Notices ====

==== Compatibility and Trademarks ====

MyLink and MyLife are OpenXPlay’s own connection methods. Some features happen to work with the built-in CarLink and CarLife connectivity features on some head units. Compatibility is partial, and the experience falls well short of native support on Android phones. OpenXPlay is an independent project. It has no affiliation with the manufacturers or organizations behind these features and has received no endorsement or certification from them. Names such as CarLink and CarLife belong to their respective rights holders.

Trademark notice. Apple, iPhone, CarPlay, AirPlay, Siri, TestFlight, Apple Music, Bonjour, Mac, Safari, and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries and regions. App Store is a registered service mark of Apple Inc. iOS is a trademark or registered trademark of Cisco. Android and Google are trademarks of Google LLC. CarLink, CarLife, Tesla, DLNA, Bluetooth, Wi-Fi, WeChat, WeChat Pay, Telegram, NetEase Cloud Music, Amap, NIO, Leapmotor, Honda, Roewe, XPeng, MG, GWM, Geely, Mazda, Zeekr, and any other vehicle brands, model names, app names, and third-party marks mentioned here are trademarks or registered trademarks of their respective owners. OpenXPlay is an independent project. It has no affiliation with these companies or organizations and has received no endorsement, sponsorship, or certification from them. These names are used solely to describe compatibility.

MyLink 和 MyLife 是 OpenXPlay 自己的连接方式,只有一部分功能恰好能和部分车机自带的 CarLink、CarLife 互联功能配合使用,属于部分兼容,并非完整支持,效果也远不如安卓手机上的原生支持。OpenXPlay 是独立项目,与这些功能的厂商和组织没有任何关联,也未获得其认可或认证。CarLink、CarLife 等名称归各自权利人所有。

商标声明:Apple、iPhone、CarPlay、AirPlay、Siri、TestFlight、Apple Music、Bonjour、Mac、Safari 和 Xcode 是 Apple Inc. 在美国及其他国家和地区注册的商标。App Store 是 Apple Inc. 的注册服务商标。iOS 是 Cisco 的商标或注册商标。Android 和 Google 是 Google LLC 的商标。CarLink、CarLife、特斯拉(Tesla)、DLNA、Bluetooth、Wi-Fi、微信、微信支付、Telegram、网易云音乐、高德地图、蔚来、零跑、本田、荣威、小鹏、名爵、长城汽车、吉利、马自达、极氪,以及文中提到的其他汽车品牌、车型名称、App 名称和第三方标识,均为其各自权利人的商标或注册商标。OpenXPlay 是独立项目,与上述公司和组织没有任何关联,也未获得其认可、赞助或认证;文中提及这些名称仅用于说明兼容性。
10 changes: 6 additions & 4 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
| 输出 | 车机使用 | 触控 | 状态 |
| --- | --- | --- | --- |
| Web | 车机浏览器:H.264 经安全 WebSocket 传输,由 WebCodecs 解码 | 支持 | 开发中 |
| Carlink | 车机的 Carlink 应用,经 Wi-Fi 连接 | 支持 | 实验性 |
| MyLink | 部分车机内置的互联功能,经 Wi-Fi 连接 | 支持 | 实验性 |
| Cast | 投屏接收端(DLNA) | 不支持 | 计划中 |

每个输出只与 OXP-Stream 模型交互,或在进程内,或通过 Stream 传输协议。输入与输出互不依赖,因此同一套输出可服务所有中继。CarPlay 输入由 [OpenXPlay Relay](https://github.com/OpenXPlay/OpenXPlay-Relay) 提供。
Expand All @@ -18,8 +18,8 @@

| 目录 | 语言 | 内容 | 使用方 |
| --- | --- | --- | --- |
| [`kotlin/`](kotlin) | Kotlin/JVM(Gradle) | `core`(会话模型和 hub)、`wire`(传输协议编解码)、`web-server`、`clink`(Carlink 输出)、`tools/`(回放、开发用中继、模拟车机) | Android 中继应用 |
| [`rust/`](rust) | Rust(Cargo) | `oxp-core`、`oxp-wire`、`oxp-web`、`oxp-clink`、`oxp-media`、`oxp-link-linux`(通过 BlueZ 和 NetworkManager 建立 Carlink Wi-Fi 连接)、`oxp-bin`(`oxp-relay` 输出进程) | Linux 中继 |
| [`kotlin/`](kotlin) | Kotlin/JVM(Gradle) | `core`(会话模型和 hub)、`wire`(传输协议编解码)、`web-server`、`clink`(MyLink 输出)、`tools/`(回放、开发用中继、模拟车机) | Android 中继应用 |
| [`rust/`](rust) | Rust(Cargo) | `oxp-core`、`oxp-wire`、`oxp-web`、`oxp-clink`、`oxp-media`、`oxp-link-linux`(通过 BlueZ 和 NetworkManager 建立 MyLink Wi-Fi 连接)、`oxp-bin`(`oxp-relay` 输出进程) | Linux 中继 |
| [`web/`](web) | TypeScript(Vite) | `receiver/`(车机浏览器打开的页面)、`protocol/`、`shared/`、`probe/`(解码器能力探测) | 由两种中继提供 |
| [`spec/vectors/`](spec/vectors) | 数据 | 传输协议和 Web 协议的测试向量 | 三套实现的测试 |

Expand All @@ -46,4 +46,6 @@ Android 中继打包 `kotlin/web-receiver/dist`,Linux 中继打包 `rust/web-r

如果贵组织的政策不允许使用 AGPLv3 许可的软件,或你希望免于履行 AGPLv3 的开源义务,请联系:[support@openxplay.org](mailto:support@openxplay.org)

CarPlay 为 Apple Inc. 的商标。OpenXPlay 为独立项目,与 Apple 不存在隶属、认可或认证关系。
MyLink 和 MyLife 是 OpenXPlay 自己的连接方式,只有一部分功能恰好能和部分车机自带的 CarLink、CarLife 互联功能配合使用,属于部分兼容,并非完整支持,效果也远不如安卓手机上的原生支持。OpenXPlay 是独立项目,与这些功能的厂商和组织没有任何关联,也未获得其认可或认证。CarLink、CarLife 等名称归各自权利人所有。

商标声明:Apple、iPhone、CarPlay、AirPlay、Siri、TestFlight、Apple Music、Bonjour、Mac、Safari 和 Xcode 是 Apple Inc. 在美国及其他国家和地区注册的商标。App Store 是 Apple Inc. 的注册服务商标。iOS 是 Cisco 的商标或注册商标。Android 和 Google 是 Google LLC 的商标。CarLink、CarLife、特斯拉(Tesla)、DLNA、Bluetooth、Wi-Fi、微信、微信支付、Telegram、网易云音乐、高德地图、蔚来、零跑、本田、荣威、小鹏、名爵、长城汽车、吉利、马自达、极氪,以及文中提到的其他汽车品牌、车型名称、App 名称和第三方标识,均为其各自权利人的商标或注册商标。OpenXPlay 是独立项目,与上述公司和组织没有任何关联,也未获得其认可、赞助或认证;文中提及这些名称仅用于说明兼容性。
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The output side of an [OpenXPlay](https://github.com/OpenXPlay/OpenXPlay) relay.
| Output | Head unit uses | Touch | Status |
| --- | --- | --- | --- |
| Web | Its browser: H.264 over a secure WebSocket, decoded with WebCodecs | Yes | In development |
| Carlink | Its Carlink app, over Wi-Fi | Yes | Experimental |
| MyLink | Built-in connectivity on some head units, over Wi-Fi | Yes | Experimental |
| Cast | Screen-casting receivers (DLNA) | No | Planned |

Every output talks only to the OXP-Stream model, either in process or over the Stream wire protocol. Inputs and outputs never depend on each other, so the same outputs serve every relay. The [OpenXPlay Relay](https://github.com/OpenXPlay/OpenXPlay-Relay) provides the CarPlay input.
Expand All @@ -18,8 +18,8 @@ The model and the outputs are implemented three times, one per runtime. Shared p

| Directory | Language | Contents | Used by |
| --- | --- | --- | --- |
| [`kotlin/`](kotlin) | Kotlin/JVM (Gradle) | `core` (session model and hub), `wire` (wire codec), `web-server`, `clink` (Carlink output), `tools/` (replay, a development relay, a simulated head unit) | The Android relay app |
| [`rust/`](rust) | Rust (Cargo) | `oxp-core`, `oxp-wire`, `oxp-web`, `oxp-clink`, `oxp-media`, `oxp-link-linux` (Carlink Wi-Fi link through BlueZ and NetworkManager), `oxp-bin` (the `oxp-relay` output process) | The Linux relay |
| [`kotlin/`](kotlin) | Kotlin/JVM (Gradle) | `core` (session model and hub), `wire` (wire codec), `web-server`, `clink` (MyLink output), `tools/` (replay, a development relay, a simulated head unit) | The Android relay app |
| [`rust/`](rust) | Rust (Cargo) | `oxp-core`, `oxp-wire`, `oxp-web`, `oxp-clink`, `oxp-media`, `oxp-link-linux` (MyLink Wi-Fi link through BlueZ and NetworkManager), `oxp-bin` (the `oxp-relay` output process) | The Linux relay |
| [`web/`](web) | TypeScript (Vite) | `receiver/` (the page the head-unit browser opens), `protocol/`, `shared/`, `probe/` (a decoder capability probe) | Served by both relays |
| [`spec/vectors/`](spec/vectors) | Data | Wire and web protocol test vectors | Tests in all three implementations |

Expand Down Expand Up @@ -54,5 +54,6 @@ If your organization's policies do not permit the use of AGPLv3-licensed softwar
to avoid the open-source obligations of AGPLv3, please contact us at:
[support@openxplay.org](mailto:support@openxplay.org)

CarPlay is a trademark of Apple Inc. OpenXPlay is an independent project and is not affiliated with,
endorsed or certified by Apple.
MyLink and MyLife are OpenXPlay’s own connection methods. Some features happen to work with the built-in CarLink and CarLife connectivity features on some head units. Compatibility is partial, and the experience falls well short of native support on Android phones. OpenXPlay is an independent project. It has no affiliation with the manufacturers or organizations behind these features and has received no endorsement or certification from them. Names such as CarLink and CarLife belong to their respective rights holders.

Trademark notice. Apple, iPhone, CarPlay, AirPlay, Siri, TestFlight, Apple Music, Bonjour, Mac, Safari, and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries and regions. App Store is a registered service mark of Apple Inc. iOS is a trademark or registered trademark of Cisco. Android and Google are trademarks of Google LLC. CarLink, CarLife, Tesla, DLNA, Bluetooth, Wi-Fi, WeChat, WeChat Pay, Telegram, NetEase Cloud Music, Amap, NIO, Leapmotor, Honda, Roewe, XPeng, MG, GWM, Geely, Mazda, Zeekr, and any other vehicle brands, model names, app names, and third-party marks mentioned here are trademarks or registered trademarks of their respective owners. OpenXPlay is an independent project. It has no affiliation with these companies or organizations and has received no endorsement, sponsorship, or certification from them. These names are used solely to describe compatibility.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

package org.openxplay.stream.clink

/** ICCOA HEVC modes, enabled only for peers advertising support. Stored settings use these names. */
/** Head-unit HEVC modes, enabled only for peers advertising support. Stored settings use these names. */
public enum class ClinkHevcMode { STREAM_ONLY, OFF, SIGNAL }
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ data class RelayOptions(
require(clinkHeadUnit == null || ipv4(clinkHeadUnit) && ipv4(clinkLocal!!)) { "Clink requires numeric IPv4 addresses" }
require(clinkPin == null || clinkPin.isNotEmpty() && clinkPin.all { it in '0'..'9' }) { "Clink PIN must contain digits" }
require(clinkPin == null || clinkHeadUnit != null) { "Clink PIN requires Clink addresses" }
require(carlifeHeadUnit == null || ipv4(carlifeHeadUnit)) { "CarLife requires a numeric head-unit IPv4 address" }
require(ipv4(carlifeBind)) { "CarLife requires a numeric bind IPv4 address" }
require(carlife || carlifeHeadUnit == null && carlifeBind == "0.0.0.0") { "CarLife addresses require --carlife" }
require(carlifeHeadUnit == null || ipv4(carlifeHeadUnit)) { "MyLife requires a numeric head-unit IPv4 address" }
require(ipv4(carlifeBind)) { "MyLife requires a numeric bind IPv4 address" }
require(carlife || carlifeHeadUnit == null && carlifeBind == "0.0.0.0") { "MyLife addresses require --carlife" }
}

companion object {
Expand All @@ -62,9 +62,9 @@ data class RelayOptions(
--clink-head-unit <ipv4> Enable Clink with the head unit's IPv4 address
--clink-local <ipv4> Local IPv4 address on the same network
--clink-pin <digits> Pairing PIN (preserves leading zeros)
--carlife Enable CarLife UDP discovery and TCP output (H.264 only)
--carlife Enable MyLife UDP discovery and TCP output (H.264 only)
--carlife-head-unit <ipv4> Send discovery directly to this receiver
--carlife-bind <ipv4> Bind CarLife listeners (default 0.0.0.0)
--carlife-bind <ipv4> Bind MyLife listeners (default 0.0.0.0)
--audio-media <aac> AAC-LC 48 kHz stereo ADTS file
--audio-voice <wav> PCM S16LE mono/stereo WAV at 8–48 kHz
--audio-voice-every <s> Play one voice turn every s seconds
Expand Down
Loading
Loading