You can use react-native-track-player library for audio player.

Answer from Heena Tandlekar on Stack Overflow
🌐
npm
npmjs.com › package › react-native-sound
react-native-sound - npm
October 15, 2025 - 🎯 Remote URL audio playback · 📱 Local bundled audio files · 🎨 Modern UI with TypeScript · 🎵 react-native-sound-playerview - Advanced audio player UI component · Save audio files in android/app/src/main/res/raw/: android/app/src/main/res/raw/ ├── whoosh.mp3 ✅ Correct ├── button_click.wav ✅ Correct └── my-sound.mp3 ❌ Use underscores: my_sound.mp3 ·
      » npm install react-native-sound
    
Published   Oct 15, 2025
Version   0.13.0
Author   Zhen Wang
🌐
npm
npmjs.com › package › react-native-sound-player
react-native-sound-player - npm
February 11, 2025 - Play audio files, stream audio from URL, using ReactNative. // yarn yarn add react-native-sound-player // or npm npm install --save react-native-sound-player · For RN >= 0.60 you can skip this step. ... Add sound files to iOS/Android.
      » npm install react-native-sound-player
    
Published   Feb 11, 2025
Version   0.14.5
Author   Johnson Su
Discussions

How to play audio from a URL in React Native app?
I have been trying to play the audio from a Youtube video (or .mp3 URL) in my React Native app. For my purposes, I cannot download the audio files to my device, they need to be streamed from the in... More on stackoverflow.com
🌐 stackoverflow.com
React-native playing audio from s3 URL using react-native-sound
I'm new to react-native and trying to create an audio playing app. I used react-native-sound to achieve the same. In the documentation, it specifies that I can play the file from a network. But I... More on stackoverflow.com
🌐 stackoverflow.com
May 17, 2017
How to play sound from network?
Hi everyone, I would like to know how to play a sound from a given url I'm trying to run the following method which runs a local file and it also doesn't work var whoosh = new Sound('ad... More on github.com
🌐 github.com
5
July 4, 2017
Play audio
I have a long personal history of using audio libraries in react native, I almost tried every libraries available and here is my feedback : If you need track playing, with streaming and everything, go directly with react-native-track-player. I think it's one of the most popular and I saw it grown years to years. Solid one. Playing from URL requires the URL to be the file itself (if I remember well), you can not pass some endpoint that returns a stream. If you need to play one shot sounds like SFX or anything else, just use react-native-audio-toolkit. Then, there is also two other very interesting options : You can use react-native-video and play audio only, this is a solution I used for a while but I switched to react-native-track-player because my client needed streaming and background controls. The last solution consists of using the HTML5 audio player through a Webview. This sounds hacky but believe me if you have some good JS skills you can build something very reliable. More on reddit.com
🌐 r/reactnative
12
8
September 23, 2022
🌐
LogRocket
blog.logrocket.com › home › how to play sounds in react native using react-native-sound
How to play sounds in React Native using react-native-sound - LogRocket Blog
June 4, 2024 - react-native-sound is a module in React Native for playing sound clips on iOS, Android, and Windows. This module enables you to add audio from various sources, such as the app bundle (native), the JavaScript bundle, or remote paths (local storage ...
🌐
GitHub
github.com › zmxv › react-native-sound
GitHub - zmxv/react-native-sound: React Native module for playing sound clips
🎯 Remote URL audio playback · 📱 Local bundled audio files · 🎨 Modern UI with TypeScript · 🎵 react-native-sound-playerview - Advanced audio player UI component · Save audio files in android/app/src/main/res/raw/: android/app/src/main/res/raw/ ├── whoosh.mp3 ✅ Correct ├── button_click.wav ✅ Correct └── my-sound.mp3 ❌ Use underscores: my_sound.mp3 ·
Starred by 2.9K users
Forked by 784 users
Languages   TypeScript 44.0% | Kotlin 24.3% | Objective-C++ 13.5% | C# 11.2% | Ruby 3.9% | Swift 1.4% | TypeScript 44.0% | Kotlin 24.3% | Objective-C++ 13.5% | C# 11.2% | Ruby 3.9% | Swift 1.4%
🌐
GitHub
github.com › johnsonsu › react-native-sound-player
GitHub - johnsonsu/react-native-sound-player: Play sound file in ReactNative · GitHub
Play audio files, stream audio from URL, using ReactNative. // yarn yarn add react-native-sound-player // or npm npm install --save react-native-sound-player · For RN >= 0.60 you can skip this step. ... Add sound files to iOS/Android.
Starred by 284 users
Forked by 102 users
Languages   Java 43.3% | Objective-C 39.0% | JavaScript 14.6% | Ruby 3.1%
🌐
Scaler
scaler.com › home › topics › playing sound in react native apps using react-native-sound
Playing Sound in React Native Apps using react-native-sound - Scaler Topics
August 7, 2023 - The react-native-sound module is a widely used component in React Native that allows you to play sound clips on iOS, Android, and Windows platforms. It offers the capability to incorporate audio from various sources such as the app bundle, ...
Find elsewhere
🌐
About React
aboutreact.com › home › play music / sound in react native app for android and ios
Play Music / Sound in React Native App for Android and iOS
December 10, 2022 - We will cover how to make sound from the local project directory and from the remote URL. To play Sound / Music in React Native app we are going to use Sound component provided by react-native-sound which supports playing sound clips on iOS, ...
🌐
GitHub
gist.github.com › maitrungduc1410 › 510283f598bd28f3c7868c96159944e1
React-native-sound. Play audio from URL · GitHub
React-native-sound. Play audio from URL. GitHub Gist: instantly share code, notes, and snippets.
🌐
GitHub
github.com › zmxv › react-native-sound › issues › 225
How to play sound from network? · Issue #225 · zmxv/react-native-sound
July 4, 2017 - var whoosh = new Sound('advertising.mp3', Sound.MAIN_BUNDLE, (error) => { if (error) { console.log('failed to load the sound', error); return; } // loaded successfully console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels()); }); function onPlaySound() { console.log('Sound started playing!'); whoosh.play((success) => { if (success) { console.log('successfully finished playing'); } else { console.log('playback failed due to audio decoding errors'); } }); } Would be grateful if someone could provide me with an example of how to run an mp3 from a url
Author   Jeremaiha
🌐
Rntp
rntp.dev
React Native Track Player — The Premium Audio Player for React Native
React Native Track Player (RNTP) is the most widely used audio playback library for React Native. Background playback, queue management, caching, preloading, Android Auto, and more.
Author   Double Symmetry GmbH
🌐
GitHub
github.com › tlenclos › react-native-audio-streaming
GitHub - tlenclos/react-native-audio-streaming: iOS & Android react native module to play an audio stream, with background support and media controls
zmxv/react-native-sound to play local audio with more controls · Background audio streaming of remote stream · Control via sticky notification on android and media center on iOS · Shoutcast/Icy meta data support · Simple UI player component (if needed, an api to control the sound is available) If you are only looking to play local audio file with app in foreground, please see other audio libs.
Starred by 787 users
Forked by 252 users
Languages   Java 42.7% | Objective-C 38.2% | JavaScript 14.1% | Python 3.0% | Ruby 2.0% | Java 42.7% | Objective-C 38.2% | JavaScript 14.1% | Python 3.0% | Ruby 2.0%
🌐
Medium
alexb72.medium.com › how-to-add-sound-to-react-native-8ef152ba1a6
How to add sound to a react-native app | by Alex | Medium
August 14, 2020 - After you have done this a project folder will be created, open this project in your favoured text editor, open the terminal within your text editor, to open this in vs code on a mac you will need to press “ctrl” and “`" at the same time. ... This will install the react-native-sound which is a fantastic package which allows you to play sounds locally from a project or from a url as well as a myriad of other features!
🌐
Javatpoint
javatpoint.com › react-native-sound
React Native Sound - javatpoint
React Native Sound with tutorial, introduction, environment setup, first app hello world, state, props, flexbox, height and width, listview, scrollview, images, buttons, router, etc.
🌐
Stack Overflow
stackoverflow.com › questions › 41242746 › play-audio-by-local-file-and-url-in-react-native
mobile - Play audio by local file and url in react native - Stack Overflow
import { ReactNativeAudioStreaming } from 'react-native-audio-streaming'; //Functions playSoundTurn() { let url = yourURL; ReactNativeAudioStreaming.play(url, { showIniOSMediaCenter: false, showInAndroidNotifications: false }); this.subscription = DeviceEventEmitter.addListener( 'AudioBridgeEvent', (evt) => { if (evt.status === "STOPPED") { // Here finish logic } } ); } stopSound() { ReactNativeAudioStreaming.stop(); }