Moonlight for Android is an open source client for Sunshine.
This fork aims to build upon the original Android client with some new features and some existing features, fixes and optimizations from Artemis and other developers.
You can create shortcuts to specific Sunshine apps and apply custom streaming settings (like resolution, FPS, bitrate, etc) to each shortcut. The same app can be configured to multiple shortcuts:
Note
Quick Launch apps can also be added as shortcuts in Android launchers, etc.
Each app can now have it's own settings for resolution, FPS, bitrate, frame pacing, etc:
Tap the left edge of the screen to show a brightness slider and set a custom brightness while streaming (or slide it to the bottom for "Auto" which will use the system brightness):
These overrides will supersede any per-app or Quick Launch settings when enabled:
To end the session AND quit the app on the host machine, use a new button chord (made with macros in mind):
LB + RB + D-pad right + D-pad down
Tried some new flags for the Exynos decoder:
videoFormat.setInteger("vendor.rtc-ext-dec-output-queue-depth.value", 2); // Minimal queue depth for lower latency
videoFormat.setInteger("vendor.sec-dec-output.delay", 0); // Minimal output delayThese seem to reduce latency by a couple ms on my Pixel 7a and also actual rendering latency by 1 or 2 frames in my tests. To use, enable the "Ultra Low Latency" setting and I would suggest Balanced frame pacing.
Some non-HDR devices can still stream 10-bit SDR if Sunshine sends it. This simple hack bypasses the HEVC decoder check for HDR10 when you have the "Enable HDR" setting activated.
- Ultra low latency mode with Snapdragon (8 Gen 2+) and MediaTek (MTK) latency improvements
- Install Android Studio and the Android NDK
- Run ‘git submodule update --init --recursive’ from within moonlight-android/
- In moonlight-android/, create a file called ‘local.properties’. Add an ‘ndk.dir=’ property to the local.properties file and set it equal to your NDK directory.
- Build the APK using Android Studio or gradle
Moonlight is the work of students at Case Western and was started as a project at MHacks.



