pulseaudio-module-xrdp icon indicating copy to clipboard operation
pulseaudio-module-xrdp copied to clipboard

sound redirect does not work on gentoo

Open guyuming76 opened this issue 4 years ago • 0 comments

i can connect to xrdp running on gentoo through xfreerdp: https://github.com/neutrinolabs/xrdp/issues/1796

but the sound redirection does not work even though i added /sound:latency:100 parameter in xfreerdp command.

xrdp works with sound redirection on my ubuntu machine, where i need to use pulseaudio -k to restart the pulseaudio service after sign in through xfreerdp. i use "pactl list modules short" to show pulse modules loaded in xrdp session. i can see that before pulseaudio -k, the module-xrdp-sink is not loaded, and it is loaded after pulseaudio -k.

but on my gentoo system, module-xrdp-sink never load.

i use OpenRC instead of systemd on gentoo, and start xrdp by running xrdp-sesman and xrdp with root in console.

i can see module-xrdp-sink.so in results of "ls $(pkg-config --variable=modlibexecdir libpulse)"

what can be wrong and what shall i check?

UPDATE: i can see "module-xrdp-sink.c: Invalid sample format specification or channel map" error

guyuming76 avatar Jan 30 '21 14:01 guyuming76