You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Naresh Reddy (Jira)" <ji...@apache.org> on 2020/12/08 04:55:00 UTC

[jira] [Commented] (GUACAMOLE-886) guacamole-client example custom app has no audio from RDP session

    [ https://issues.apache.org/jira/browse/GUACAMOLE-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245672#comment-17245672 ] 

Naresh Reddy commented on GUACAMOLE-886:
----------------------------------------

[~mgd134] 
 I am able to send the audio instruction but I am not able to capture and render the audio coming from the remote(RDP). 
 I tried using *onaudio* function.

Note: I am new to guacamole. Iam using the following. Please can anyone help me out in this. It is not good to comment on closed issue/ticket but I didn't find any source to reach you. Thanks in Advance

guacaClient.onaudio = function (stream,mimeType) {
 console.log('after');
 var context = Guacamole.AudioContextFactory.getAudioContext();
 //var ctx = Guacamole.AudioPlayer.getInstance(stream,mimeType);
 console.log('mimeType '+Guacamole.AudioPlayer.isSupportedType(mimeType));
 console.log('mime '+mimeType);
 var oscillator = context.createOscillator();
 context.createMediaStreamDestination();
 //oscillator.frequency.value = 523.25;
 oscillator.connect(context.destination);
 oscillator.start();
 guacaClient.sendAck(stream._index,"Success",0);
};

> guacamole-client example custom app has no audio from RDP session
> -----------------------------------------------------------------
>
>                 Key: GUACAMOLE-886
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-886
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client, guacamole-common-js
>         Environment: Windows 10 for RDP
> guacamole/guacd docker image for guacd
> I made a docker image for the guacamole-client example app myself.
> Chrome browser
>            Reporter: Mike Dickun
>            Priority: Minor
>
> When using the stock sample app defined here: [https://github.com/glyptodon/guacamole-client/tree/master/doc/guacamole-example] with RDP I get no sound when watching video on the machine I'm RDP'ing to. When I use the stock app ([https://github.com/glyptodon/guacamole-client/tree/master/guacamole]), sound works. In my guacd logs, I can see that the audio format negotiation completes successfully...
>  
> {{guacd[8]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz}}
>  
> I also see on the Windows machine that the remote audio device connects, I just get no sound in the browser. I'm unsure if the problem is in the DummyGuacamoleTunnelServlet.java file or if the audio is being streamed to the browser but somehow not being processed by the browser, which would point perhaps to guacamole-common-js.
>  
> If I'm doing something wrong, I can't figure out what it is.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)