From user-return-4805-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Mon Dec 3 20:47:41 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 59B7A180645 for ; Mon, 3 Dec 2018 20:47:41 +0100 (CET) Received: (qmail 14730 invoked by uid 500); 3 Dec 2018 19:47:40 -0000 Mailing-List: contact user-help@guacamole.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.apache.org Delivered-To: mailing list user@guacamole.apache.org Received: (qmail 14718 invoked by uid 99); 3 Dec 2018 19:47:40 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2018 19:47:40 +0000 Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 8FF9D3C39 for ; Mon, 3 Dec 2018 19:47:39 +0000 (UTC) Received: by mail-oi1-f174.google.com with SMTP id w13so12059590oiw.9 for ; Mon, 03 Dec 2018 11:47:39 -0800 (PST) X-Gm-Message-State: AA+aEWanv6aHjt3cZy2g7z0s5wkNz1It5m+98n7ZiHwSG3LmNSw+Y7K3 eqs48Gro14qIkx7bybQrNcALyaxH+qSnFI1rfeotpw== X-Google-Smtp-Source: AFSGD/U4HgPudE1fHPo7LVmopAm36STtwJl07eAar6etY+TW9QJSwQLTSYJItlwDjfH2Ob+QkBljKBRbZdd+HpSrRmI= X-Received: by 2002:aca:5e85:: with SMTP id s127mr11104420oib.181.1543866459010; Mon, 03 Dec 2018 11:47:39 -0800 (PST) MIME-Version: 1.0 References: <1543865859173-0.post@n4.nabble.com> In-Reply-To: <1543865859173-0.post@n4.nabble.com> From: Mike Jumper Date: Mon, 3 Dec 2018 11:47:01 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Sound not working on custom application To: user@guacamole.apache.org Content-Type: multipart/alternative; boundary="000000000000decc0b057c236b26" --000000000000decc0b057c236b26 Content-Type: text/plain; charset="UTF-8" On Mon, Dec 3, 2018 at 11:37 AM hank08 wrote: > I created my own application following Chapter 23 of the guacamole guide. I > implemented it using the websocket tunnel instead of the http tunnel. I am > using rdp to connect to a windows 10 machine. Everything works fine except > for the sound. To implement my custom application I cloned a VM that had a > standalone instance of guacamole and just replaced the tomcat portion with > my custom web app so I dont think it should have anything to do with > guacd. > I also don't get any error in the logs for guacd. Is there something I > have > to do on the javascript side to enable the sound? Or perhaps on the java > side I have to enable something to make the sound pass through? > The dev@ list would probably have been a better choice, but: What value(s) are you giving for the client-supported audio mimetypes via your GuacamoleClientInformation object? If you aren't already doing so, you will need to test what audio codecs are supported on the client side and forward that information through so that the tunnel can supply it to guacd during the handshake. Example of this in practice: https://github.com/apache/guacamole-client/blob/fc457c080d813044e30e1f4e8fe855d6a5900259/guacamole/src/main/java/org/apache/guacamole/tunnel/TunnelRequestService.java#L155-L158 Also see Guacamole.AudioPlayer.getSupportedTypes(): https://guacamole.apache.org/doc/guacamole-common-js/Guacamole.AudioPlayer.html#.getSupportedTypes - Mike --000000000000decc0b057c236b26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Dec 3, 2018 at 11:37 AM hank08 <ahanke@osii.com> wrote:
I created my own application followin= g Chapter 23 of the guacamole guide. I
implemented it using the websocket tunnel instead of the http tunnel.=C2=A0= I am
using rdp to connect to a windows 10 machine.=C2=A0 Everything works fine e= xcept
for the sound.=C2=A0 To implement my custom application I cloned a VM that = had a
standalone instance of guacamole and just replaced the tomcat portion with<= br> my custom web app so I dont think it should have anything to do with guacd.=
I also don't get any error in the logs for guacd.=C2=A0 Is there someth= ing I have
to do on the javascript side to enable the sound?=C2=A0 Or perhaps on the j= ava
side I have to enable something to make the sound pass through?

The dev@ list would probably have been a better ch= oice, but:

What value(s) are you giving for the cl= ient-supported audio mimetypes via your GuacamoleClientInformation object? = If you aren't already doing so, you will need to test what audio codecs= are supported on the client side and forward that information through so t= hat the tunnel can supply it to guacd during the handshake. Example of this= in practice:


Also see Gua= camole.AudioPlayer.getSupportedTypes():


- Mike

--000000000000decc0b057c236b26--