Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

rdpsnd: pulseaudio keeps closing and opening after desktop activity #30

Open
g-reno opened this issue Jun 2, 2011 · 0 comments
Open
Milestone

Comments

@g-reno
Copy link
Contributor

g-reno commented Jun 2, 2011

My Linux box uses pulseaudio.

I'm using a git pull about 2 weeks.

When I try to connect xfreerdp to Windows XP and redirect sound back
using pulseaudio the stream keeps dropping after I interact with the
desktop such as moving windows around.

Starts out fine:

rdpsnd_pulse_format_supported: ok
rdpsnd_pulse_set_format: wFormatTag=17 nChannels=2
nSamplesPerSec=22050 wBitsPerSample=4 nBlockAlign=1024
rdpsnd_pulse_open: connected
rdpsnd_pulse_set_volume: ffffffff
rdpsnd_pulse_set_volume: ffffffff

IN DEBUG MODE:
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 fb 87 1b 00 ................
rdpsnd_pulse_set_format: wFormatTag=17 nChannels=1
nSamplesPerSec=22050 wBitsPerSample=4 nBlockAlign=512
rdpsnd_pulse_open: connected
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 fb 87 1c 00 ................
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 83 a7 3a 00 ..............:.
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 f7 ad 3b 00 ..............;.
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 f7 ad 3c 00 ..............<.
rdpsnd_pulse_set_format: wFormatTag=6 nChannels=1
nSamplesPerSec=11025 wBitsPerSample=8 nBlockAlign=1
rdpsnd_pulse_open: connected
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 fb ae 3d 00 ..............=.

Then after moving some windows, I get dropouts and every few seconds I
see this:

rdpsnd_pulse_set_volume: ffffffff
rdpsnd_pulse_close:
rdpsnd_pulse_open: connected
rdpsnd_pulse_close:
rdpsnd_pulse_open: connected
rdpsnd_pulse_close:
rdpsnd_pulse_open: connected
rdpsnd_pulse_close:
rdpsnd_pulse_open: connected
rdpsnd_pulse_close:

IN DEBUG MODE:
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 05 ad ec 00 ................
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 05 ad ed 00 ................
rdpsnd_pulse_close:
rdpsnd_pulse_open: connected
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 27 ae ee 00 ............'...
DBG sec_send_to_channel (334): Sending encrypted packet:
0000 08 00 00 00 03 00 00 00 05 00 04 00 45 ae ef 00 ............E...

The connection is over the LAN.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant