Bug 235365

Summary: Using VPIO with AirPods increases the audio rendered latency
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description youenn fablet 2022-01-19 07:15:59 PST
Using VPIO with AirPods increases the audio rendered latency, compared to using RemoteIO with the same AirPods.
This happens when rendering WebRTC audio first (hence Remote IO, latency is ok) and start capturing (hence rendering through VPIO through increased latency).

The buffer size for mic through VPIO with AirPods is 2048 and rendering 4096 in my setup, which seems to big.
Comment 1 youenn fablet 2022-01-19 07:18:08 PST
With builtin mic/speakers, I go from 4096 (not capturing audio) to 1024 (capturing audio), which makes more sense.
I wonder though whether we still not want shorter buffers in this case too.
Comment 2 Radar WebKit Bug Importer 2022-01-26 07:16:18 PST
<rdar://problem/88073802>