FreeRDP/channels
Pascal Nowack 7d18ca4dc2
rdpsnd/client: Fix handling of WaveConfirm PDUs (#7910)
Currently, all FreeRDP-based clients don't send any WaveConfirm PDUs
for received samples, when using a dynamic channel for audio output
redirection.
[MS-RDPEA] 2.2.3.8 Wave Confirm PDU mentions, that a WaveConfirm PDU
MUST be sent, when a WaveInfo PDU + Wave PDU, or Wave2 PDU is received
and when the audio data sample is emitted to completion by the client.
The first WaveConfirm PDU is used by the server to determine the
network latency and the second WaveConfirm PDU is used by the server to
determine the render latency.

So, fix the current behaviour, where FreeRDP currently does not send
any WaveConfirm PDU, when using the dynamic channel, or only sends one
WaveConfirm PDU for the sample.
For the first WaveConfirm PDU, use the same timestamp, that was
included in the first WaveInfo/Wave2 PDU.
For the second WaveConfirm PDU, add the render latency on top of the
arrival timestamp.
2022-05-18 08:47:54 +02:00
..
ainput Fixed dead store warnings 2022-04-28 12:37:19 +02:00
audin Fixed memory leak in audin mac 2022-05-13 10:23:41 +02:00
client scanbuild fixes 2022-04-28 12:37:19 +02:00
cliprdr Fixed warnings 2022-04-28 11:24:51 +02:00
disp Fixed dead store warnings 2022-04-28 12:37:19 +02:00
drdynvc Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
drive Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
echo Fixed cast-quality warnings 2022-04-28 09:17:20 +02:00
encomsp Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
geometry Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
gfxredir Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
parallel Fixed warnings 2022-04-28 11:24:51 +02:00
printer winpr: rework alignment functions 2022-05-12 11:36:01 +02:00
rail Fixed warnings 2022-04-28 11:24:51 +02:00
rdp2tcp Removed BUILTIN_CHANNELS 2022-02-23 10:43:46 +01:00
rdpdr winpr: rework alignment functions 2022-05-12 11:36:01 +02:00
rdpei scanbuild fixes 2022-04-28 12:37:19 +02:00
rdpgfx Fixed dead store warnings 2022-04-28 12:37:19 +02:00
rdpsnd rdpsnd/client: Fix handling of WaveConfirm PDUs (#7910) 2022-05-18 08:47:54 +02:00
remdesk Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
serial Logging and parser fixes (#7796) 2022-04-19 14:29:17 +02:00
server Freerdp remove #ifdef HAVE_CONFIG_H 2022-03-03 11:26:48 +01:00
smartcard Eliminate Dead nested assignment warnings 2022-04-28 12:37:19 +02:00
sshagent Freerdp remove #ifdef HAVE_CONFIG_H 2022-03-03 11:26:48 +01:00
tsmf CMake check_include and struct cleanup 2022-04-29 14:27:44 +02:00
urbdrc Fixed dead store warnings 2022-04-28 12:37:19 +02:00
video scanbuild fixes 2022-04-28 12:37:19 +02:00
CMakeLists.txt Removed BUILTIN_CHANNELS 2022-02-23 10:43:46 +01:00