Bug 4016 - video/audio sync issues when high latency network
Summary: video/audio sync issues when high latency network
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Sound (show other bugs)
Version: pre-1.0
Hardware: PC All
: P2 Enhancement
Target Milestone: LowPrio
Assignee: Pierre Ossman
Depends on: 4194
  Show dependency treegraph
Reported: 2011-10-01 14:09 CEST by Pierre Ossman
Modified: 2017-08-29 13:19 CEST (History)
0 users

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2011-10-01 14:09:58 CEST
Currently PulseAudio does a pretty good job of figuring out the network latency and reporting it back to the applications. But this is probably not what we want.

The main reason applications wants latency information is to synchronise audio and video. But this is based on the assumption that video latency is negligible. But for ThinLinc, the video will suffer the same network latency as the audio.

So in order to have good synchronisation over high-latency links, we should lie to the applications and say that the network latency is non-existent.

This will possibly brake some other use cases, but I think those are so incredibly rare that this primary use case is more important.
Comment 1 Peter Åstrand cendio 2013-03-27 09:23:43 CET
PulseAudio 3.0 has "Configurable device latency offset". Perhaps that helps?
Comment 2 Pierre Ossman cendio 2013-07-19 13:16:50 CEST
This delay is calculated by the clients, so we cannot easily adjust it from the server. After doing bug 4194 it will be trivial though.

Note You need to log in before you can comment on or make changes to this bug.