1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Fixed RDP to allow freerdp from linux to select audio controller

This commit is contained in:
Adolfo Gómez García 2016-06-24 11:10:53 +02:00
parent 96bd117622
commit 793b6c9004

View File

@ -40,7 +40,7 @@ from uds.core.util import OsDetector
import six
import os
__updated__ = '2016-05-13'
__updated__ = '2016-06-24'
class RDPFile(object):
@ -94,9 +94,13 @@ class RDPFile(object):
params.append('/smartcard')
if self.redirectAudio:
params.append('/sound:sys:alsa')
params.append('/microphone:sys:alsa')
params.append('/multimedia:sys:alsa')
# params.append('/sound:sys:alsa')
# params.append('/microphone:sys:alsa')
# params.append('/multimedia:sys:alsa')
# Let freerdp decide if pulse o alsa
params.append('/sound')
params.append('/microphone')
params.append('/multimedia')
if self.redirectDrives is True:
params.append('/drive:media,/media')