RESOLVED FIXED 215018
MediaRecorder should support MediaRecorderOptions.mimeType
https://bugs.webkit.org/show_bug.cgi?id=215018
Summary MediaRecorder should support MediaRecorderOptions.mimeType
youenn fablet
Reported 2020-07-31 08:03:33 PDT
MediaRecorder should support MediaRecorderOptions.mimeType
Attachments
Patch (22.89 KB, patch)
2020-09-30 07:57 PDT, youenn fablet
no flags
Rebasing (19.89 KB, patch)
2020-10-01 01:54 PDT, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2020-08-07 08:04:26 PDT
Diego Caravana
Comment 2 2020-09-18 02:23:24 PDT
If you need confirmation (or testing afterwards) with this one, in my case my code asks for "video/webm;codecs=vp9", or even only "video/webm", what I get is actually an MP4 container with AVC/AAC encoded video/audio.
Marcos G.
Comment 3 2020-09-24 12:55:31 PDT
As Diego said it would desirable to use vp9 codec for encoding. Here is an example: https://codepen.io/marcosdg3/pen/xxVMaQY This specifies using the mimeType: "video/webm;codecs=vp9" and will output the type used after recording.
youenn fablet
Comment 4 2020-09-24 13:01:32 PDT
(In reply to Marcos G. from comment #3) > As Diego said it would desirable to use vp9 codec for encoding. Here is an > example: https://codepen.io/marcosdg3/pen/xxVMaQY > > This specifies using the mimeType: "video/webm;codecs=vp9" and will output > the type used after recording. Webm is currently not supported in MacOS/iOS MediaRecorder backend. That seems like a different request from mimeType.
youenn fablet
Comment 5 2020-09-30 07:57:02 PDT
youenn fablet
Comment 6 2020-10-01 01:54:49 PDT
Created attachment 410209 [details] Rebasing
EWS
Comment 7 2020-10-01 07:09:27 PDT
Committed r267833: <https://trac.webkit.org/changeset/267833> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410209 [details].
Note You need to log in before you can comment on or make changes to this bug.