Skip to content

feat: audio latency#1129

Open
closetcaiman wants to merge 10 commits into
mainfrom
feat/audio-latency
Open

feat: audio latency#1129
closetcaiman wants to merge 10 commits into
mainfrom
feat/audio-latency

Conversation

@closetcaiman

@closetcaiman closetcaiman commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Closes #1104

⚠️ Breaking changes ⚠️

  • N/A

Introduced changes

  • aligned AudioContext interface with spec by adding baseLatency and outputLatency
  • added inputLatency to AudioRecorder (React Native extension, not in spec)
  • all values are sourced from native APIs - AVAudioSession (iOS) and Oboe (Android)
    • platform differences in reported values are expected
  • updated docs for AudioContext and AudioRecorder with native source details

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web
  • Updated old arch android spec file

@closetcaiman closetcaiman requested a review from mdydek June 29, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose AudioContext.baseLatency / outputLatency (Web Audio spec) for latency compensation

2 participants