#.wav files have wrong mimetype on appwrite storage??

3 messages · Page 1 of 1 (latest)

distant ledge
#

I am using react native trackplayer for audio playback in my app. I am streaming songs in my app from the appwrite storage bucket. Everything works fine with .mp3 files but it has problems with the .wav files. So I looked inside the bucket to see whats wrong. When I try to open .wav via the from appwrite provided url the browser actually does not interpret the file as an audio file and is displaying the content as raw binary txt. I assume the trackplayer is doing the same thing so that is why it is having problems. I do not want to need to download the file first so how can I get around this problem?
here is what the browser displays after accessing the url:

#

this is in the response header:

tight sigil