Bug 235365 - Using VPIO with AirPods increases the audio rendered latency
Summary: Using VPIO with AirPods increases the audio rendered latency
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-19 07:15 PST by youenn fablet
Modified: 2022-01-26 07:16 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>