You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using xRDP on Debian Buster on a Raspberry Pi and installed the pulseaudio-module-xrdp.
Although I can hear sound from the RDP session, the sound is played with a too low sampling rate. So everything sounds like being in slow motion and keeps getting more and more delay to video.
The modules have been build with pulseaudio-12.2 sources as well as respective dev libs. The RDP client is JumpDesktop on macOS and iOS.
Is there any way to control what sampling rate is used when a RDP client connects?
The text was updated successfully, but these errors were encountered:
It turns out that always the default sample rate of the pulse audio daemon is used regardless of what sample rate the client asks for.
I did several tests and even when the Microsoft RDP client is used, the sound pitches up or down when the pulseaudio daemon's default sample rate is decreased or increased from its default 44.1kHz.
I saw in module-xrdp-source.c in pa__init() it seems that for some reason always the default specs are used. Alternatively there is code to hardcode the sample rate to 22kHz, but this code is always disabled.
Any idea why and how the sampling rate of the client can be taken into account?
This allows audio to play correctly in an RDP session and still allows audio to play correctly in a console session (at least in my VirtualBox VM). It would be great to know if there is a better way to do this.
Hi,
I'm using xRDP on Debian Buster on a Raspberry Pi and installed the pulseaudio-module-xrdp.
Although I can hear sound from the RDP session, the sound is played with a too low sampling rate. So everything sounds like being in slow motion and keeps getting more and more delay to video.
The modules have been build with pulseaudio-12.2 sources as well as respective dev libs. The RDP client is JumpDesktop on macOS and iOS.
Is there any way to control what sampling rate is used when a RDP client connects?
The text was updated successfully, but these errors were encountered: