Bug 217280
| Summary: | MediaRecorder Constructor is Ignoring the MediaRecorderOptions Parameter | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Zachariah Moreno <zach> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ashley, eric.carlson, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Zachariah Moreno
Thank You for implementing the MediaRecorder.start(timeslice) parameter!
We developed a test to verify the MediaRecorderOptions parameter & mimeType property @ https://codepen.io/XachMoreno/full/bGpXdXX.
The MediaRecorderOptions.mimeType property within the MediaRecorder constructor is being ignored & the MIME type is fixed as video/mp4.
Furthermore, the MediaRecorder.isTypeSupported method is not implemented.
To replicate...
1. Open Safari 14 or Safari Technology Preview 14.0.1
2. Open the Develop Menu
3. Hover over the Experimental Features list item
4. Click on MediaRecorder to Enable it
5. Navigate to https://codepen.io/XachMoreno/full/bGpXdXX
6. Click on the red Request Media Permissions button at the bottom
7. Allow access to Microphone & Camera
8. Click on the Test Media Recorder Options button at the bottom
9. Wait 1 seconds
10. An alert dialog will open communicating test results for
1. the MediaRecorder.mimeType property
2. the MediaRecorder.isTypeSupported method
3. MediaRecorderOptions.mimeType vs. MediaRecorder.mimeType
4. MediaRecorderOptions.mimeType vs. Blob.type
Spec Reference - https://w3c.github.io/mediacapture-record/#dictdef-mediarecorderoptions
Docs Reference - https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/MediaRecorder
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/69934963>
Zachariah Moreno
In Safari Technology Preview Release 115 14.1 the test in our original issue is no longer running & the Media Recorder constructor fails with the following error.
"NotSupportedError: mimeType is not supported"
Are we planning to support the mimeType property?
Eric Carlson
(In reply to Zachariah Moreno from comment #2)
> In Safari Technology Preview Release 115 14.1 the test in our original issue
> is no longer running & the Media Recorder constructor fails with the
> following error.
>
> "NotSupportedError: mimeType is not supported"
>
> Are we planning to support the mimeType property?
MediaRecorderOptions.mimeType and MediaRecorder.isTypeSupported were added with https://bugs.webkit.org/show_bug.cgi?id=216856
*** This bug has been marked as a duplicate of bug 216856 ***