<?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>234840</bug_id>
          
          <creation_ts>2022-01-04 05:49:34 -0800</creation_ts>
          <short_desc>Audio canPlayType() reports false negative for PCM WAV</short_desc>
          <delta_ts>2023-10-25 13:03:27 -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 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <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 name="Ashley Gullen">ashley</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>acase</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>jean-yves.avenard</cc>
    
    <cc>jer.noble</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1827913</commentid>
    <comment_count>0</comment_count>
    <who name="Ashley Gullen">ashley</who>
    <bug_when>2022-01-04 05:49:34 -0800</bug_when>
    <thetext>(Forked from issue 229799)

Repro URL: https://downloads.scirra.com/labs/audioCodecTests/

In Safari 15.2, canPlayType() indicates PCM WAV (&quot;audio/wav;codecs=1&quot;) is not supported by returning an empty string. However when passing a PCM WAV file to both an &lt;audio&gt; element and Web Audio, it correctly decodes and plays the file.

Observed result: canPlayType() returns empty string
Expected result: canPlayType() to return &quot;maybe&quot; or &quot;probably&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828157</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-04 17:05:56 -0800</bug_when>
    <thetext>&lt;rdar://problem/87122702&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871787</commentid>
    <comment_count>2</comment_count>
    <who name="Austin Case">acase</who>
    <bug_when>2022-05-25 11:27:28 -0700</bug_when>
    <thetext>Hey all, this is becoming a big challenge and causing us to have to recommend using any other browser. But Safari has the best video codec support with HEVC and PRORES -- commonly with wav/pcm audio... thus our application can&apos;t trust if it can play the files or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987507</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2023-10-25 13:01:19 -0700</bug_when>
    <thetext>This should be fixed in Safari 17. I checked on a recent macOS Sonoma system and am able to play the PCM WAV example (and others on the site).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987511</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2023-10-25 13:03:27 -0700</bug_when>
    <thetext>Note: The cause of this bug was outside of the WebKit source code, so I am marking this as &apos;Configuration Changed&apos;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>