-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong mime type #362
Comments
I think that's an issue you'll have to dive into yourself because |
You are correct that the content-type is not modified. But isn't the content-type used to determine the mime type? When I look through some of the code. I am comparing the safari run and the chrome run. They both hit this code (in multipart.js):
For safari For safari
For chrome I would imagine that is part of the problem. |
Well, how nice, Chrome gives more, it is not missing or wrong. |
I'm still trying to understand how all of this works. The issue is I record a video with MediaRecorder in the browser and submit it to my node server which uses multer (which uses busboy).
In chrome the content-type is: video/mp4;codecs=avc1,opus even when I specify video/mp4.
In safari the content-type is video/mp4.
busboy returns the proper mimetype for safari but returns text/plain for chrome. The safari made video is saved properly and plays. The chrome made video does not play properly. I'm assuming it's corrupt or something.
The text was updated successfully, but these errors were encountered: