[
https://issues.apache.org/jira/browse/GUACAMOLE-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225922#comment-17225922
]
Jimmy edited comment on GUACAMOLE-1201 at 11/4/20, 8:20 AM:
------------------------------------------------------------
{quote}Are these values the number of milliseconds between calls?
{quote}
Yes.
{quote}Assuming these are relative call timings, the pattern makes sense where
data is being received in larger chunks than allowed per flushed PDU. A single
block of received audio data would then need to be fairly quickly split up into
multiple chunks. Is it your thinking, then, that this behavior of sending
several packets in a quick burst might exhaust the buffer space of the RDP
server, resulting in lost samples?
{quote}
Yes. I think so.
So, I created the test feature to check this in the Guacamole Server project.
The test feature uses a thread to send the audio packet to the remote server in
an even interval.
*As a testing result, what my thought is correct is proven.*
was (Author: myjimmy):
{quote}Are these values the number of milliseconds between calls?
{quote}
Yes.
{quote}Assuming these are relative call timings, the pattern makes sense where
data is being received in larger chunks than allowed per flushed PDU. A single
block of received audio data would then need to be fairly quickly split up into
multiple chunks. Is it your thinking, then, that this behavior of sending
several packets in a quick burst might exhaust the buffer space of the RDP
server, resulting in lost samples?
{quote}
Yes. I think so.
So, I created the test feature to check this in the Guacamole Server project.
The test feature uses a thread to send the audio packet to the remote server in
an even interval.
As a testing result, what my thought is correct is proven.
> Audio Input issues - Recording at an incorrect rate and Having much noise
> -------------------------------------------------------------------------
>
> Key: GUACAMOLE-1201
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1201
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client, guacamole-server
> Affects Versions: 1.0.0, 1.1.0, 1.2.0
> Environment: FreeRDP 2.2.0, Apache Guacamole Server 1.3.0, Apache
> Guacamole Client 1.3.0
> Reporter: Jimmy
> Priority: Minor
> Attachments: adobe-audition-crash-1.png, adobe-audition-crash-2.png,
> audacity-recorded-time.png, ms-voice-recorder.png
>
>
> I found some audio input issues when using Audacity and Adobe Audition.
> The test environment follows as below:
> * *FreeRDP*: stable-2.0
> * *Apache* *Guacamole* *Server*: staging/1.3.0
> * *Apache Guacamole Client*: staging/1.3.0
> * *Remote Server*: Windows 10 64 bit Version 2004 (OS Build 19041.572)
> * Ubuntu 18.04 64 bit
> * Audacity 2.3.3
> * Adobe Audition 2020
>
> The test case follows as below:
> # Connect to the remote server (Windows 10, 64bit) over the Apache Guacamole
> Client.
> # In the remote server, run Audacity.
> # In Audacity, click the record button and start to record the audio.
> # In Audacity, after 10 seconds, click the stop button.
> # In Audacity, click the play button.
>
> In step 5, we can see the following issues:
> # The recording time is 10.5 seconds, but the actual recorded time is about
> 7.5 seconds. (see 'audacity-recorded-time.png' image.)
> # The recorded audio has a lot of noise.
> FYI: When using Adobe Audition, the crash issue frequently occurs. (see
> 'adobe-audition-crash.png' image)
>
> The weird things follow as below:
> * When performing the above test case by using xfreerdp (2.2.0, c72055d74),
> we can't see the above two issues in Audacity.
> * When performing the above test case by using mstsc (10.0.18362), we can't
> see the above two issues in Audacity.
> Especially, when using the Apache Guacamole Server & Client, we can't see the
> above two issues in Microsoft Voice Recorder. (see 'ms-voice-recorder.png'
> image)
>
> For these audio input issues, I researched the followings:
> *
> [http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/audio-support-in-RDP-td7508.html]
> * https://issues.apache.org/jira/browse/GUACAMOLE-236
> * https://issues.apache.org/jira/browse/GUACAMOLE-228
> * [https://jira.glyptodon.com/browse/GUAC-1511]
>
> But I didn't get any solution and workaround.
>
> *Please let me know some solution or workaround to fix these issues.*
> Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)