Bug 7051 - poor audio/video sync in rdesktop
Summary: poor audio/video sync in rdesktop
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: | rdesktop (deprecated) (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.10.0
Assignee: Henrik Andersson
Depends on:
Reported: 2017-09-21 14:58 CEST by Pierre Ossman
Modified: 2019-02-07 15:52 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2017-09-21 14:58:30 CEST
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 Pierre Ossman cendio 2017-09-21 15:09:14 CEST
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

"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"
Comment 2 Pierre Ossman cendio 2019-02-07 15:45:07 CET
rdesktop (and associated tools) is being removed from the ThinLinc product.

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