MediaRecorder should support MediaRecorderOptions.mimeType
<rdar://problem/66681508>
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.
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.
(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.
Created attachment 410120 [details] Patch
Created attachment 410209 [details] Rebasing
Committed r267833: <https://trac.webkit.org/changeset/267833> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410209 [details].