Feature request: option to select the audio device

Dmytro M

Bit poster
1. Please provide the freerdp-like option to explicitly specify the audio device to work with, if more than one is installed. For example, a built-in audio card and a USB-headset or camera.

Apparently the current latest client provides no control over audio device to use. If I plug in a USB-headset and even make it default, the client still chooses the internal audio (probably the first device it can enumerate).

2. It would also be useful to give a choice of sound API. ALSA is more responsive and has lower latencies, so I would prefer using ALSA for sound redirection if both ALSA and Pulse Audio are installed.

The test setup is: Linux Client 16.2.0 x86; Ubuntu x86 16.04 LTS, 14.04 LTS, 12.04 LTS; Inel HDA, Logitech USB-Headset, Logitech HD Webcam with Microphone.
 
Last edited:
Hi Dmitro, may ask you to provide us with a log from your client device?
  1. enable extended logging first
  2. perform the steps reproducing the issue
  3. get the log here: ~/.config/2X/Client/ClientLog.log
 
Code:
[I 00/00000000/TB432E840] Mon Jan 29 23:48:17 2018 - Launch client [/opt/2X/Client/bin/../bin/appserverclient] with arguments [-u *** -r *** -s "192.168.***.***#3389" -Q -S local -R on -c 32 -P TECH_2X -K remote -B on -e 0x180 -E 7 --tls 0 -l 0x0409:0x0409 -L en --enable-adaptive --clientversion 0 --log-level 4 -I 0 -m MF -T Test Server]
[I 00/00000000/TB432E840] Mon Jan 29 23:48:17 2018 - Start watching devices
[I 02/00000000/TB4895740] Mon Jan 29 23:48:17 2018 - Logging initialized
[I 01/00000000/TB432E840] Mon Jan 29 23:48:22 2018 - Saving Settings
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Supported audio format count [1]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Set audio output format [0]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Start audio recording
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Use API [LINUX_PULSE]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Audio input device name [PulseAudio]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Audio recording is started now
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Stop audio recording
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:27 2018 - Audio recording is stopped now
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:34 2018 - Supported audio format count [1]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:34 2018 - Set audio output format [0]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:34 2018 - Start audio recording
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:34 2018 - Audio input device name [PulseAudio]
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:48:34 2018 - Audio recording is started now
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:49:30 2018 - Stop audio recording
[D 02/00000000/TA8E6BB40] Mon Jan 29 23:49:30 2018 - Audio recording is stopped now
[I 02/00000007/TB4895740] Mon Jan 29 23:49:57 2018 - Client disconnected, reason [0x0]
[I 02/00000000/TB4895740] Mon Jan 29 23:49:57 2018 - Exit the event loop, code [0]
[I 01/00000000/TB432E840] Mon Jan 29 23:49:57 2018 - Saving Settings
[I 00/00000000/TB432E840] Mon Jan 29 23:49:57 2018 - Stop watching devices
 
Back
Top