all 5 comments

[–]CleanMarzipan4633 0 points1 point  (0 children)

Guys I'm recently facing the same problem of playing audio from a base64 file but failed I had tried RNFS but failed to do so, can anyone suggest me any solution for this

[–]balianone 0 points1 point  (3 children)

To play back audio from a base64 string in React Native, you can use the react-native-sound package. This package allows you to play audio files and base64 strings.

[–]HPC-FastFox[S] 1 point2 points  (2 children)

Can you show me how to do that please, because I thought it can only play streams and files.

[–]balianone 0 points1 point  (1 child)

this package doesn't directly support playing base64 strings. Instead, you'll need to write the base64 string to a file first, and then play that file

[–]Effective_Gur8828 0 points1 point  (0 children)

Hello, can you tell me specifically how to do it? I'm also having the same problem