## Android Cast (application)

Copyright © Android Cast contributors.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## Android Open Source components (Gradle)

- AndroidX AppCompat — Apache License 2.0
- AndroidX ConstraintLayout — Apache License 2.0
- AndroidX RecyclerView — Apache License 2.0
- Google Material Components for Android — Apache License 2.0
- Google Play services Cronet — BSD 3-Clause (Chromium Cronet)
- Google Play Billing Library — Google Play SDK terms (proprietary; see Google Play Console / developer policies)
- Google Play In-App Review — Google Play SDK terms
- Eclipse Paho MQTT client — Eclipse Public License 1.0 and Eclipse Distribution License 1.0 (dual-licensed)
- JSch (mwiede fork) — BSD 3-Clause License (reverse SSH remote access)

## JUnit 4

Licensed under the Eclipse Public License 1.0 (test dependency only; not shipped in release APK).

## Native codecs (optional; linked when built)

Built from git submodules under `third-party/` via `scripts/build-native-codecs.sh`. CMake sets `ANDROIDCAST_HAVE_*` when `build/native/<abi>/lib*.a` exists for each ABI in the APK. JNI encode/decode sinks may still be partial while libraries are linked.

- libvpx (VP8/VP9) — BSD-style license (Xiph.org). See `third-party/libvpx/LICENSE`.
- Opus — BSD-style license (Xiph.org et al.). See `third-party/opus/COPYING`.
- Speex — Revised BSD license (Xiph.org Foundation). See `third-party/speex/COPYING`.

## WireGuard tunnel module (`third-party/wireguard-android`)

The app links the WireGuard Android tunnel library from git submodule `third-party/wireguard-android` (Apache License 2.0; see upstream `COPYING` and `https://git.zx2c4.com/wireguard-android`). WireGuard lab mode uses Android `VpnService` (system VPN permission) via `GoBackend`.