Re: [mediacapture-record] Provide an option to enumerate all supported media types

I believe this is more of a MediaRecorder API issue.  For the scope of this problem, it matters not what the device is capable of recording in.  What's relevant is the type that was actually recorded.

If you use the MediaRecorder without specifying a MIME type, there is no way to determine what was returned to you, and thus no way to reliably set a subsequent Blob type or name a file via normal conventions.  Short of digging into the bytes and sniffing yourself, there's no way to know if you recorded a WebM, Ogg, or what codecs were used.  You should have to set a type to know what was recorded.  Furthermore, in cases where you do set the MIME when instantiating the MediaRecorder, it seems unreliable to assume that this setting is guaranteed to control the output.

GitHub Notification of comment by bradisbell
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 4 September 2018 02:30:46 UTC