Background Audio + Lock Screen Controls for Android by Lumin Plugins

Audio en arrière-plan + contrôles d’écran de verrouillage pour Android par Lumin Plugins
http://u3d.as/3Vmc
Keep audio playing through screen lock on Android with full notification and lock-screen media controls (play, pause, stop). Powered by ExoPlayer and MediaSession.
• Lock screen & notification media controls (play, pause, stop)
• Stream audio from any HTTPS URL or play local files
• ExoPlayer handles buffering, codecs, and audio focus automatically
• MediaSession integration works with Bluetooth, car systems, and wearables
• Automatic pause when headphones are unplugged
• Real-time progress callbacks (~2Hz) to your C# code
• Proper foreground service — won’t be killed by the OS
• Works alongside Unity’s AudioSource for sound effects and UI audio
• No-op on non-Android platforms — no #if guards needed in your code
• Android API 21–34 tested
• Includes ProGuard/R8 consumer rules for minified builds
The Problem
Unity’s AudioSource goes silent the moment your Android user locks their screen or switches apps. If you’re building a meditation app, music player, podcast app, audiobook reader, or any audio-focused experience, this is a dealbreaker.
The Solution
Background Audio for Android runs a proper Android foreground service using ExoPlayer and MediaSession — the same technology stack that powers Spotify, YouTube Music, and Google Podcasts. Your audio keeps playing through screen lock, app switching, and even headset removal, with full media controls in the notification shade and on the lock screen.
What You Get
• A compiled Android library (AAR) containing the background audio service
• A clean C# bridge class with a simple static API
• A progress callback receiver for real-time UI updates
• Two example scenes demonstrating basic and advanced usage
• Complete documentation with a step-by-step setup guide
Simple API
Starting background audio is a single method call:
AndroidBackgroundAudio.StartBackground(url, “Titre de la piste”, “Artiste”);
Control playback from anywhere:
AndroidBackgroundAudio.Play();
AndroidBackgroundAudio.Pause();
AndroidBackgroundAudio.Seek(positionMs);
AndroidBackgroundAudio.Stop();
Requirements
• Unity 2020.3 LTS or newer
• Android API 21+ (Android 5.0 Lollipop)
• AndroidX enabled
Price $19.99
HI-FI News
via Unity Asset Store newest packages http://www.unity3d.com/
April 29, 2026 at 03:03PM
April 29, 2026 at 03:03PM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








