Bug 212275 - MediaRecorder requestData() always returns empty Blob
Summary: MediaRecorder requestData() always returns empty Blob
Status: RESOLVED DUPLICATE of bug 206929
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-05-22 13:22 PDT by majo
Modified: 2020-06-15 02:02 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description majo 2020-05-22 13:22:29 PDT
I'm working on this bug https://bugs.webkit.org/show_bug.cgi?id=202233 and I wanted to use requestData() but found that in Safari or the MiniBrowser, requestData() always return an empty Blob.

I have try it in Chrome and Firefox and it worked as expected.

To replicate...

 1. Open Safari
 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/majov5/pen/LYpaEga
 6. Click on the blue Start Test button at the bottom
 7. Allow access to Microphone & Camera
 8. Click on the Record button at the bottom


Now every 5 seconds the Codepen console will print

[object Blob] {
   size: 0,
   slice: function slice() {...},
   type: ""
}
Comment 1 Radar WebKit Bug Importer 2020-05-25 10:25:17 PDT
<rdar://problem/63601261>
Comment 2 youenn fablet 2020-06-15 02:02:37 PDT

*** This bug has been marked as a duplicate of bug 206929 ***