Maenun

Open source

Maenun is built with open-source software. This page names it and says where its source is. The full licence texts are inside each app, under Open Source Licenses.

FFmpeg

Maenun for iPhone and iPad uses libraries from the FFmpeg project under the LGPLv2.1 (GNU Lesser General Public License, version 2.1 or later). The other three apps do not contain FFmpeg.

Configured with:

./configure --enable-cross-compile --disable-debug --disable-doc --enable-pic \
  --disable-audiotoolbox --disable-sdl2 --disable-libxcb --target-os=darwin --arch=arm64 \
  --cc='xcrun -sdk iphoneos clang' --as='gas-preprocessor.pl -arch arm64 -- xcrun -sdk iphoneos clang' \
  --extra-cflags='-arch arm64 -miphoneos-version-min=13.0' \
  --extra-ldflags='-arch arm64 -miphoneos-version-min=13.0' --prefix=<build directory>

Changed (the hardware decoder is offered for every colour space):

--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -799,7 +799,7 @@ static enum AVPixelFormat get_pixel_format(H264Context *h, int force_callback)
         break;
     case 10:
 #if CONFIG_H264_VIDEOTOOLBOX_HWACCEL
-        if (h->avctx->colorspace != AVCOL_SPC_RGB)
+        // if (h->avctx->colorspace != AVCOL_SPC_RGB)
             *fmt++ = AV_PIX_FMT_VIDEOTOOLBOX;
 #endif
         if (CHROMA444(h)) {
@@ -842,7 +842,7 @@ static enum AVPixelFormat get_pixel_format(H264Context *h, int force_callback)
         *fmt++ = AV_PIX_FMT_CUDA;
 #endif
 #if CONFIG_H264_VIDEOTOOLBOX_HWACCEL
-        if (h->avctx->colorspace != AVCOL_SPC_RGB)
+        // if (h->avctx->colorspace != AVCOL_SPC_RGB)
             *fmt++ = AV_PIX_FMT_VIDEOTOOLBOX;
 #endif

Everything else

ComponentLicenceUsed in
scrcpy (Genymobile)Apache License 2.0Maenun
scrcpy-mobile (Ethan)MIT LicenseMaenun for iPhone and iPad
Android platform tools (adb)Apache License 2.0Maenun
Tailscale tsnet and the libraries it includesBSD 3-Clause License and othersall four apps
FFmpegLGPL 2.1 or laterMaenun for iPhone and iPad
SDLzlib LicenseMaenun for iPhone and iPad
BoringSSLISC License / OpenSSL LicenseMaenun
KeychainSwiftMIT LicenseMaenun for iPhone and iPad
Protocol BuffersBSD 3-Clause LicenseMaenun for Android
ZstandardBSD LicenseMaenun for Android
LZ4BSD 2-Clause LicenseMaenun for Android
BrotliMIT LicenseMaenun for Android
{fmt}MIT LicenseMaenun for Android
AndroidX and Jetpack ComposeApache License 2.0the Android apps
Kotlin standard library and coroutinesApache License 2.0the Android apps

"Maenun" without a platform means both the iPhone/iPad and the Android app. Maenun Host for iPhone and iPad and Maenun Host for Android contain the tunnel library only.