react-native-sound-player icon indicating copy to clipboard operation
react-native-sound-player copied to clipboard

error when await SoundPlayer.getInfo();

Open unutoiul opened this issue 6 years ago • 8 comments

I'm trying to get info for a sound located at:

https://api.twilio.com/2010-04-01/Accounts/AC59f045f6bbe657c72a2bfbdf7736b5cd/Recordings/RE8d57ef4c537183172c3c819fcbff6b66.mp3

for some reason I received the following error:

RCTJSONStringify() encountered the following error: Invalid number value (NaN) in JSON write

unutoiul avatar Jun 26 '19 13:06 unutoiul

Hi @unutoiul, thanks for the report! Is this on iOS or Android?

johnsonsu avatar Jun 27 '19 03:06 johnsonsu

iOS

unutoiul avatar Jun 27 '19 04:06 unutoiul

Still getting the same error, playing an mp3 file from url on iOS today

Loewe1000 avatar Mar 23 '20 21:03 Loewe1000

iOS

unutoiul avatar Mar 23 '20 22:03 unutoiul

same here anyone found a solution ?

gulsher7 avatar May 17 '21 18:05 gulsher7

any updates? Having the same problem.

mtbaqer avatar Aug 08 '21 14:08 mtbaqer

has anyone solved this issue??? I have the same error while using getInfo on iOS, but only with large songs

GilTRipper avatar Nov 25 '21 21:11 GilTRipper

?

jpcastro4 avatar Dec 14 '22 03:12 jpcastro4