Bug 235213

Summary: AirPods Do not Appear in User Media List in Progress Web App/Add to home screen App
Product: WebKit Reporter: goehdavi
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Critical CC: eknoor, webkit-bug-importer, youennf
Priority: P1 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

Description goehdavi 2022-01-13 17:23:16 PST
Airpods show up in the user media list in Safari, but not in the "add to home screen"/PWA version of the website.
Comment 1 youenn fablet 2022-01-14 04:57:29 PST
I cannot reproduce this on iOS 15.1 nor on latest WebKit.
I get the same list in Safari as in home-screened web app.
Comment 2 goehdavi 2022-01-18 09:09:30 PST
Can you try iOS 15.2? 

We are currently doing the following:

const devices: MediaDeviceInfo[] = await navigator.mediaDevices.enumerateDevices();

devices.filter((device) => device.kind === 'audioinput')

Airpods appear to be missing.
Comment 3 Radar WebKit Bug Importer 2022-01-20 17:24:21 PST
<rdar://problem/87859243>
Comment 4 Eknoor 2022-01-24 15:08:23 PST
Can we please get a link that reproduces this issue along with a screen recording of your steps? Thank you.
Comment 5 goehdavi 2022-01-24 16:53:07 PST
I don't have a video, but I pasted a code snippet. Try executing that in each browser type.