<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>212275</bug_id>
          
          <creation_ts>2020-05-22 13:22:29 -0700</creation_ts>
          <short_desc>MediaRecorder requestData() always returns empty Blob</short_desc>
          <delta_ts>2020-06-15 02:02:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>206929</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>majo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>majo</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
    
    <cc>zach</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1655413</commentid>
    <comment_count>0</comment_count>
    <who name="">majo</who>
    <bug_when>2020-05-22 13:22:29 -0700</bug_when>
    <thetext>I&apos;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 &amp; 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: &quot;&quot;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1655890</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-05-25 10:25:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/63601261&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1662584</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2020-06-15 02:02:37 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 206929 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>