ReactNativeAudioStreaming.resume() restarts the song?
First I fire:
ReactNativeAudioStreaming.play(url,{
showIniOSMediaCenter: true,
showInAndroidNotifications: true
})
Then I hit fire ReactNativeAudioStreaming.pause(), which stops the track. After that, I fire ReactNativeAudioStreaming.resume() and the track restarts. I'm assuming that's not the expected behavior?
Hi ! Can you provide more information about the platform and the song please ?
It was with any .mp3 via network -- I can't provide additional detail, as I've already moved forward with a different library :(
This is happening for me as well, with mp3s served from localhost (10.0.2.2) in the default Android emulator.
EDIT: nevermind, it's pretty obvious that this is what's supposed to happen due to current limitations.
As @micmarsh pointed out, seems like 'pause' is the same as 'stop'.. Any workarounds?
+1
@jasongrishkoff can u please inform which library you are using for audio streaming
@ashokkumar88 Possible Candidate https://github.com/react-native-kit/react-native-track-player
@moonstruck Thanks.