www.cendio.com

Bug 7051

Summary: poor audio/video sync in rdesktop
Product: ThinLinc Reporter: Pierre Ossman <ossman@cendio.se>
Component: | rdesktop (deprecated)Assignee: Henrik Andersson <hean01@cendio.se>
Status: CLOSED WONTFIX QA Contact: Bugzilla mail exporter <bugzilla-qa@cendio.se>
Severity: Normal    
Priority: P2 CC: ossman@cendio.se
Version: 1.3.1   
Target Milestone: 4.10.0   
Hardware: PC   
OS: Unknown   
Acceptance Criteria:

Description From cendio 2017-09-21 14:58:30
Playing video on a Windows server via rdesktop often results in audio and video
being out of sync. Exactly how out of sync seems to vary with the video, but it
ranges from just noticeable to a second or so.

Historically this has been a protocol limitation, but Microsoft's own client
does not exhibit the same issues so it is possible to do better.

Test cases are Youtube in IE and Firefox, and Windows Media Player. Seen with
both Windows 2012 R2 and Windows 2016.
------- Comment #1 From cendio 2017-09-21 15:09:14 -------
A casual glance shows no new audio protocol, but there are references to
syncing in the new video extension:

[MS-RDPEVOR]: Remote Desktop Protocol: Video Optimized Remoting Virtual Channel
Extension
https://msdn.microsoft.com/en-us/library/hh554658.aspx

"hnsTimestamp (8 bytes): UINT64 ([MS-DTYP] section 2.2.50). Timestamp of the
current packet, in 100-ns intervals since the video presentation was started.
This timestamp SHOULD be used to sync the video stream with an audio stream
remoted using the Remote Desktop Protocol: Audio Output Virtual Channel
Extension (see the dwAudioTimeStamp field in [MS-RDPEA] section 2.2.3.10)."
------- Comment #2 From cendio 2019-02-07 15:45:07 -------
rdesktop (and associated tools) is being removed from the ThinLinc product.