Comments (4)
@obzc , I got your email, just gonna past the content here as well:
I need more information before I can find out about the issue since I don’t have the devices you mentioned.
- Can you make sure the URL you are streaming from is accessible upon immediate request
- Can you test using a different audio file, maybe a small file like 5mb
- Test on another android device or different android version to make sure the problem is not in the code
from react-native-sound-player.
1- Package name "react-native-sound-player"
2- The URL I submit is a stream address.
3- Works on other android and ios devices. But "xiaomi 8.0-8.1 android version" does not work. Waiting 10 minutes after its works.
from react-native-sound-player.
I see your problem. Unfortunately I will not be able to offer you much help since I don’t have the devices to reproduce the issue.
However, since the the stream is working fine on other devices, I think there might be some configurations/settings you can adjust on Xiaomi devices.
If that still cannot solve your problem, you might want to try a different library like https://github.com/zmxv/react-native-sound.
from react-native-sound-player.
In Xiaomi Phones it doesn't working what is reason!!!
from react-native-sound-player.
Related Issues (20)
- [BUG] TypeError: null is not an object (evaluating 'RNSoundPlayer.stop') HOT 1
- [BUG] Get info returns Duration that is less then currentTime
- NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference HOT 2
- Improvements
- On Creation of apk HOT 5
- [BUG] setNumberOfLoops not a function
- Cannot hear sounds in ios version 13 and can hear sounds in ios version 12 HOT 3
- [BUG] Sound keeps playing if the app is killed manually HOT 1
- Add new event listener which returns the current duration as the audio progresses. HOT 3
- Audio not playing[BUG]
- [BUG]: TypeError: Cannot read property 'playSoundFile' of null HOT 1
- [ERROR] Build failed with ios HOT 1
- Invariant Violation with IoS
- Is this repo actively maintained? HOT 1
- [BUG] - Android - SoundPlayer.loadUrl crash HOT 2
- [Question] I have a question!! HOT 2
- No sound received when App is in background/kill mode
- [BUG] play multiple sounds HOT 1
- [BUG] iOS silence mode doesn't play on .playUrl HOT 1
- [BUG] when playing sounds, it crashes with saying attempt to invoke virtual method 'void.android.media.MediaPlayer.setOnCompletionListener HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-sound-player.