English · 简体中文
The output side of an OpenXPlay relay. Stream takes a projection session (video, audio, touch and keys) from the relay and delivers it to software a head unit already has, so nothing is installed on the head unit:
| Output | Head unit uses | Touch | Status |
|---|---|---|---|
| Web | Its browser: H.264 over a secure WebSocket, decoded with WebCodecs | Yes | In development |
| 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 provides the CarPlay input.
The model and the outputs are implemented three times, one per runtime. Shared protocol test vectors keep the three implementations in step.
| Directory | Language | Contents | Used by |
|---|---|---|---|
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 (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/ |
TypeScript (Vite) | receiver/ (the page the head-unit browser opens), protocol/, shared/, probe/ (a decoder capability probe) |
Served by both relays |
spec/vectors/ |
Data | Wire and web protocol test vectors | Tests in all three implementations |
| Part | Requirements | Commands |
|---|---|---|
| Kotlin | JDK 17 | cd kotlin && ./gradlew test |
| Rust | Rust stable | cd rust && cargo test --workspace |
| Rust for aarch64 Linux | rustup target add aarch64-unknown-linux-musl, llvm-tools, clang |
rust/scripts/build-aarch64.sh |
| Web receivers | Node.js 20.19+ or 22.12+ | npm ci && npm test && npm run build in kotlin/web-receiver and in rust/web-receiver (output in each dist) |
The Android relay packages kotlin/web-receiver/dist and the Linux relay rust/web-receiver/dist; build that receiver before building the relay. The two receivers are separate code.
Contributions are accepted under the OpenXPlay Contributor License Agreement. Accept it once by replying on a pull request to any OpenXPlay repository; the CLA check then passes in all of them.
This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3), version 3 only.
Additional terms under AGPLv3 Section 7 apply. Modified versions must preserve the attribution
notice Powered by OpenXPlay. in the appropriate legal notices and in any prominent about, legal,
footer, or attribution location presented by the user interface, together with a visible link to
the original project: https://github.com/OpenXPlay/OpenXPlay-Stream. See NOTICE.
If your organization's policies do not permit the use of AGPLv3-licensed software, or if you wish to avoid the open-source obligations of AGPLv3, please contact us at: support@openxplay.org
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.