Re: Guacamole doesn't support AUDIO enable disable feature as FreeRDP do
> > Guacamole does not use the same options to configure the same internal > flags. The "xfreerdp" client and Guacamole are not equivalent in > implementation, regardless of the fact that they use the same underlying > RDP library (FreeRDP). I was just looking into FreeRDP code and get to know about these flags. It's not my requirement. I was just playing with those flags and trying to find out the behaviour of Audio in Remote Server. There could be use case though If I want to play sound on server machine but not on the local machine which is somewhere else and do have audio support ( speakers not on cloud ) . > > Honestly, "leave on server" does not make sense to me as an option, but > based on the code you pasted in your email, you'd need to use the > "console-audio" option: I tried to send the console-audio flag as well based on that code but of no use. On Fri, Mar 23, 2018 at 6:24 PM, Nick Couchmanwrote: > >>> It has following command line interface options. >>> >>> audio-mode: Audio output mode (mode can 0 - redirect locally, 1 - leave on server, 2 - none) >>> >>> >>> In Guacamole, If I set disable-audio=true then it disables the audio on >>> remote server as well. >>> >>> *How can we achieve this on Guacamole ? ( leave on server ) * >>> >>> >> Honestly, "leave on server" does not make sense to me as an option, but >> based on the code you pasted in your email, you'd need to use the >> "console-audio" option: >> >> > Yeah, I'm curious, Amarjeet, what your use-case is for having the audio > available on the server? This option has never made a lot of sense to me, > though I can imagine maybe one scenario (controlling a desktop) where this > might make sense, but in a server or cloud scenario where you have multiple > users accessing a variety of either server or VDI-type machines, I fail to > see why you'd ever need audio to be "playing" on a server device and not > forwarded out to the remote system? > > -Nick >
Re: Guacamole doesn't support AUDIO enable disable feature as FreeRDP do
> > >> It has following command line interface options. >> >> >>> audio-mode: Audio output mode >>> (mode can 0 - redirect locally, 1 - leave on server, 2 - none) >> >> >> In Guacamole, If I set disable-audio=true then it disables the audio on >> remote server as well. >> >> *How can we achieve this on Guacamole ? ( leave on server ) * >> >> > Honestly, "leave on server" does not make sense to me as an option, but > based on the code you pasted in your email, you'd need to use the > "console-audio" option: > > Yeah, I'm curious, Amarjeet, what your use-case is for having the audio available on the server? This option has never made a lot of sense to me, though I can imagine maybe one scenario (controlling a desktop) where this might make sense, but in a server or cloud scenario where you have multiple users accessing a variety of either server or VDI-type machines, I fail to see why you'd ever need audio to be "playing" on a server device and not forwarded out to the remote system? -Nick
Re: Guacamole doesn't support AUDIO enable disable feature as FreeRDP do
On Fri, Mar 23, 2018 at 1:07 AM, Amarjeet Singhwrote: > Hi Team, > > In Guacamole we have the option to disable audio to true or false but > FreeRDP doesn't behave like this while connecting through command line > interface. > > Guacamole does not use the same options to configure the same internal flags. The "xfreerdp" client and Guacamole are not equivalent in implementation, regardless of the fact that they use the same underlying RDP library (FreeRDP). It has following command line interface options. > > >> audio-mode: Audio output mode >> (mode can 0 - redirect locally, 1 - leave on server, 2 - none) > > > In Guacamole, If I set disable-audio=true then it disables the audio on > remote server as well. > > *How can we achieve this on Guacamole ? ( leave on server ) * > > Honestly, "leave on server" does not make sense to me as an option, but based on the code you pasted in your email, you'd need to use the "console-audio" option: http://guacamole.apache.org/doc/gug/configuring-guacamole.html#rdp-device-redirection Can you describe what you're trying to do here? What makes you look into the specifics of these audio options vs. FreeRDP? ... > {code:none} > JIRA wiki markup only has any effect in JIRA. - Mike
Guacamole doesn't support AUDIO enable disable feature as FreeRDP do
Hi Team, In Guacamole we have the option to disable audio to true or false but FreeRDP doesn't behave like this while connecting through command line interface. It has following command line interface options. > audio-mode: Audio output mode > (mode can 0 - redirect locally, 1 - leave on server, 2 - none) In Guacamole, If I set disable-audio=true then it disables the audio on remote server as well. *How can we achieve this on Guacamole ? ( leave on server ) * My Observations of Command Line Interface code of FreeRDP is as follows : {code:none} CommandLineSwitchCase(arg, "audio-mode") { long mode = strtol(arg->Value, NULL, 0); if (errno != 0) return COMMAND_LINE_ERROR_UNEXPECTED_VALUE; if (mode == AUDIO_MODE_REDIRECT) { settings->AudioPlayback = TRUE; } else if (mode == AUDIO_MODE_PLAY_ON_SERVER) { settings->RemoteConsoleAudio = TRUE; } else if (mode == AUDIO_MODE_NONE) { settings->AudioPlayback = FALSE; settings->RemoteConsoleAudio = FALSE; } } {code} Any suggestions on the above ? Thanks and Regards, Amarjeet Singh