react-native-track-player is a cross-platform mobile audio player library for playing local and streamed audio files. It provides a background audio service that maintains music playback and responds to remote commands from lock screens and Bluetooth devices.
The library includes a playback engine capable of decrypting audio files secured by industry-standard digital rights management and an adaptive bitrate streaming client that supports HLS and DASH formats to adjust audio quality based on network conditions. It also features an offline media storage manager for saving audio content locally.
The project covers remote playback control through integration with device lock screens, notifications, smartwatches, and automotive dashboards. Additional capabilities include external audio casting to hardware receivers, pre-emptive track buffering for seamless transitions, and a playback sleep timer.