BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
391 stars 200 forks source link

[Bug]: Audio/sound distortion/echo #754

Open maxguru opened 1 year ago

maxguru commented 1 year ago

Context

I use linphone-desktop's AppImage (v5.0.14) on Gentoo Linux with my own SIP server (Asterisk). I also use Zoiper, it doesn't have the issue I am having with Linphone.

General information

There doesn't appear to be any relevant error messages in the console.

Turning echo cancellation on/off doesn't fix the issue.

Recording from Linphone: 2023-03-29_12-44-02_officepc_6504894546.mkv.zip

linphonerc:

[sound]
ec_filter=MSWebRTCAEC
echocancellation=0

The distortions exist in the audio recordings from Linphone AND in the audio output via Pulseaudio. However, distortions do not exist in recordings from Asterisk (on the server side). The recording from my microphone is also perfect in the server recording. There are no distortions when using Zoiper. This is likely a bug someplace within Linphone (and not with my system configuration). Maybe in mswebrtc? It sounds like an echo coming in and out.

I tried to find documentation about the ec_filter setting, however, there doesn't seem to be any information about it anywhere. What are the possible options for this setting?

Expected behaviour

There should not be any audio distortions.

To Reproduce

Open Linphone AppImage on Gentoo and call +1 (650)489-4546.

Additional context

No response

SDK logs URL

No response

julonexus commented 1 year ago

Hi You need to upload a wireshark capture and your logs for a better investigation.