outputLatencyMs

Measured audio output latency in milliseconds.

This is the delay between when audio is written to the output buffer and when it actually reaches the speaker/DAC. Use this to align recorded audio timestamps with actual playback position.

  • Android: Measured at runtime from AudioTimestamp during playback. Returns 0 before playback starts.

  • iOS: Obtained from AVAudioSession.outputLatency once the audio session is configured (available without active playback).