Unity 2021 and earlier may experience Android build errors due to a mismatch between the Android SDK build tools (version 30.0.2) and the AndroidX core library versions (1.7.0+). This occurs because these library versions require Android SDK 31 or higher, which is not supported by these Unity versions. Here's the workaround.Native Media Player is a powerful plugin that brings all the native audio player functions including full background(remote) playback controls.
Highlights
▪ Easy to use
▪ Cross-platform API: Android & iOS
▪ Based on 3 years of Unity audio plugin development
▪ Easy to use drag and drop components
▪ Supports both local (StreamingAssets/Download) and remote audios
▪ Continues to play when app goes background
▪ Control the audio while the app is in the background
▪ Automatically retrieve media metadata from audio source
▪ Create custom media metadata
▪ Fully modular remote action buttons
▪ Fully modular event listeners
▪ Test mode for Unity Editor
Playback Features
▪ Play, Pause, Stop, Next, Previous, Fast-forward, Rewind, Seek-To
▪ Repeat, Loop, Shuffle
▪ Volume bar, Seek bar
Native Event Listeners
▪ Player Init, Player Buffering, Metadata Retrieved, Playing Loading, Player Prepared, Player Ready, Player Complete, Player Error
▪ IsPlayingChanged, IsLoadingChanged, IsBufferingChanged
Platform Supported
64 bit iOS 11.0+
32 & 64 bit Android 7.0+
*Asset uses artwork media samples under Creative Commons License. See Third-Party Notices.txt file in package for details.