Skip to content

Provide Real-Time VideoAvatar Latency Information #4200

@Viktoriagrg

Description

@Viktoriagrg

Feature Type

I cannot use LiveKit without it

Feature Description

VideoAvatar playback does not provide any mechanism to track or measure latency. When sending audio via livekit-simply or livekit-liveavatar plugins, audio frames are forwarded asynchronously, but there is no integration with QueueAudioOutput in livekit.agents.voice.avatar to monitor real-time playback positions or latency

This makes it impossible to measure, debug or improve at all VideoAvatar latency in real time

Workarounds / Alternatives

Include an optional timestamp for each audio frame and propagate it through the avatar pipeline so latency can be measured at the receiving end.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions