benjreinhart / react-native-aws3

Pure JavaScript React Native library for uploading to AWS S3
MIT License
398 stars 151 forks source link

audio files #75

Open RAFDigital101 opened 6 years ago

RAFDigital101 commented 6 years ago

Hi, I'm using react-navite-aws3 in an app that runs on ios and android and uploads audiofiles to S3. That's all working fine, I'm also passing different content-types to the uploads and I can see these come through in my s3 bucket as content-type metadata. My problem is that if I download the files from S3 and examine the files with exiftool they come down as mime type video. This seems to only be a problem with audio files generated by android which are in the format 3gp or m4a (I'm setting content type to audio/3gpp and audio/x-m4a). Is this an issue with s3 or with the upload or with the app. Does anyone have any ideas?