const audio = new Sound(
'https://storage.googleapis.com/chat_bucket_aso/2ihzd4q47l73wmvcb_2.976.mp3',
null,
error => {
setLoadingAudio(false);
if (error) {
console.log('failed to load the sound', error);
setError(true);
return;
}
setDuration(hp.recorderTimeFormat(audio.getDuration()));
setPlayingDuration(audio.getDuration());
},
);
I am using React Native sound and this works in Android and get
"The operation couldn’t be completed. (OSStatus error 1954115647.)"
error in IOS.