<?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>236350</bug_id>
          
          <creation_ts>2022-02-08 23:37:40 -0800</creation_ts>
          <short_desc>Bluetooth headphones can&apos;t be recaptured</short_desc>
          <delta_ts>2022-02-09 08:27:30 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebRTC</component>
          <version>Safari 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kongpheng">Kongpheng.Nanthavongsa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1839036</commentid>
    <comment_count>0</comment_count>
    <who name="Kongpheng">Kongpheng.Nanthavongsa</who>
    <bug_when>2022-02-08 23:37:40 -0800</bug_when>
    <thetext>To reproduce, you&apos;ll need some bluetooth headphones:
* Go to https://webrtc.github.io/samples/src/content/getusermedia/volume/
* Open console window of Safari -- I reproduced using version 15.1
* Click Start button
* When/If prompted for permission for access to microphone, grant it
* Click Stop button
* Click Start button
* Notice the error &quot;A MediaStreamTrack ended due to a capture failure&quot; in the console

Issue isn&apos;t reproducible without bluetooth headphones.  Don&apos;t know if issue is limited to certain models of bluetooth headsets, but we were able to reproduce using Sony WH-1000XM3 and Bose NC700 headphones.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839175</commentid>
    <comment_count>1</comment_count>
    <who name="Kongpheng">Kongpheng.Nanthavongsa</who>
    <bug_when>2022-02-09 08:27:30 -0800</bug_when>
    <thetext>My coworker root caused the issue to a bug with the sample code.  A PR was submitted: https://github.com/webrtc/samples/issues/1514.

I wonder if resources aren&apos;t being reclaimed somehow.  It&apos;s odd that this issue impacts Safari, but not Chrome.  In any case, will close the issue.

Thank you for your help and apologies for the mixup.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>