Getting the mimeType from a MediaRecorder that wasn't initialized with a mimeType
问题 I'm using the MediaRecorder API to record some media on a page. In my MediaRecorder initialization, I'm not specifying content type as I do not require anything in particular. The browser can choose what it wants. var mediaRecorder = new MediaRecorder(stream); However, when it comes time to save that recording, I need to know the mimeType for the blob, and so I can determine a reasonable file name extension. The MediaRecorder.mimeType proprety is what I want, but it is an empty string. It