Skip to content

Use AudioContext.outputLatency to sync video rendering with audio #505

Description

@stephenwade

Authors working on an application that need audio/video synchronization can use outputLatency to synchronize their rendering: instead of painting video frames as soon as they are rendered, they can shift the clock of the rendering by outputLatency, and audio and video will be in sync.

https://blog.paul.cx/post/audio-video-synchronization-with-the-web-audio-api/

On hold until Chrome implements AudioContext.outputLatency.

Chrome Platform Status: https://chromestatus.com/feature/5682265146261504
crbug: https://bugs.chromium.org/p/chromium/issues/detail?id=785409
MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/outputLatency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions