Ubuntu Jaunty. two seconds delay on incoming voice with ekiga

Bug #369092 reported by wowks
12
Affects Status Importance Assigned to Milestone
Ekiga
Fix Released
Medium
ekiga (Ubuntu)
Triaged
Low
Unassigned
Nominated for Jaunty by pjw

Bug Description

I've got 2 s delay with _incoming_ voice on the fresh install of Jaunty using ekiga 3.2.0
Ekiga shows "buffering 180ms" in the baloon (when pointing mouse on the bottom-left corner of the main window)
The opponent hears me normally.
I'm using SIP / alaw.
It was all right with ubuntu 8.04, 8.10

If I change "maximum delay" from 500 to 20, the sound become "dashed"... /if my opponent says "AAA" it comes as "A_A_A"/

Revision history for this message
Javier Smaldone (javier.smaldone) wrote :

I've seen the same situation in Jaunty (both i386 and amd64). It makes Ekiga completely unusable (I switched back to 8.10).

Revision history for this message
pjw (pjw1965) wrote :

Using Jaunty (9.04)
ekiga 3.2.0

Same for me. Feeling of 2-10 seconds delays (don't know which direction, both?).
2nd line is a SIP-Phone (Linksys PAP2).

Does 3.2 really work for someone for SIP?

Log file attached. ***@ekiga.net uses ekiga, ******@ekiga.net uses PAP2.

Installing ekiga_2.0.12-0ubuntu5_i386.deb (and libopal-2.2_2.2.11~dfsg1-4_i386.deb) for Intrepid solved the problem.

Revision history for this message
Emerson Ribeiro de Mello (emerson-ml) wrote :

Same here! Ekiga 2.0 works fine on my previous ubuntu 8.10, but Ekiga 3 on ubuntu 9.04 is not fine. I'm feeling 2 seconds delay.

Actually I'm not sure if this problem is related with ekiga or ubuntu 9.04 because I did some tests with another sip client (zoiper) that use to be ok on my ubuntu 8.10 box and on my 9.04 has 2 seconds delay as well.

Revision history for this message
Adolfo R. Brandes (arbrandes) wrote :

I can confirm this. Ekiga 3.2.0 on Jaunty 9.04, minimum of 2 seconds delay. Upon further investigation, the delay is just on sound output: the opposite side hears audio immediately. This suggests some kind of problem with a jitter buffer, or maybe pulseaudio.

Revision history for this message
Yannick Defais (sevmek) wrote :

pjw,

Thank you for the log.

Unfortunately i do not see something really wrong, there is some packets lost (~3%) and the jitter seems fine.

I'm pushing this upstream to get a better answer.

Best regards,
Yannick

Changed in ekiga:
status: Unknown → New
Yannick Defais (sevmek)
Changed in ekiga (Ubuntu):
status: New → Confirmed
Revision history for this message
pruch (diogo-pruch) wrote :

On preferences I changed my Output device to HDA Intel instead of Default and it decreased the delay.

Revision history for this message
pruch (diogo-pruch) wrote :

Stripped from http://wiki.ekiga.org/index.php/Audio_setup :

Choppy sound with Ekiga

From ALSA version 1.0.9, DMIX is enabled by default for soundcards that do not support several channels at the same time. The default configuration of DMIX in ALSA does not necessarily provide good results by default for VoIP applications. The solution is to directly use the soundcard preferences in the 'Audio Settings' or to redefine your "default" soundcard as described above.

Changed in ekiga (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Stefan (stefan-tobe) wrote :

Hi,
I did experience the same audio delay beheaviour using combi jaunty/ekiga 3.2.0
However I have a solution/workaround for that by using Open Sound System rather than ALSA
Make sure that OSS is installed on jaunty:

sudo apt-get install libpt-plugins-oss
sudo dpkg --list |grep oss
ii libao2 0.8.8-4ubuntu1 Cross Platform Audio Output Library
ii libflac++6 1.2.1-1.2 Free Lossless Audio Codec - C++ runtime libr
ii libflac8 1.2.1-1.2 Free Lossless Audio Codec - runtime C librar
ii libpt-1.10.10-plugins-oss 1.10.10-2ubuntu3 Portable Windows Library Audio Plugins for t
ii libpt2.6.1-plugins-oss 2.6.1-0ubuntu4 PTLib audio plugin for the OSS Interface
ii libqca2-plugin-ossl 0.1~20070904-3 QCA OSSL plugin for libqca2
ii libwavpack1 4.50.1-1 an audio codec (lossy and lossless) - librar

Make sure that jaunty uses OSS as default audio system.I use KDE 3.5.10 to configure that in:
system settings/sound system/hardware/"select audio device"

Make sure (after restarting EKIGA) to select OSS output rather than ALSA
I select output device: /dev/dsp1 (PTLIB/OSS) and input device : /dev/dsp1 (PTLIB/OSS)
It works convenient and I don't experience this long sound output delay anymore for incoming speech to my Plantronics USB headset

Something must be wrong with EKIGA vs ALSA support. Long live OSS!

Changed in ekiga:
importance: Unknown → Medium
Changed in ekiga:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.