[pjsip] Adding codecs & conference

Thanh Nghiem Le nimkgb at gmail.com
Sun May 11 22:52:28 EDT 2008

Hi Benny,
> What ports are you connecting in the bridge?
Say I have 2 calls
port 0 is transmiting to port 1 , 2
so I do cc 1 2 and cc 2 1

I try in Vista Home Premium, Ubuntu 8.04, MAC leopard 10.5 and got the same
I did more on reserching and found that the problem I have is exactly the
same with the one below, I also tried the solutions that you suggest but non
of them work.

*From arawat at 3clogic.com Fri Feb 8 06:13:50 2008*

*From: arawat at 3clogic.com (Anshuman S. Rawat)*

*Date: Fri, 8 Feb 2008 16:43:50 +0530*

*Subject: [pjsip] Media issue with multiple (parallel) calls*

*Message-ID: <015801c86a43$b265d3b0$3203a8c0 at asr>*


*We have integrated G729 codec with PJSIP 0.7.0 (revision 1538) and media *

*flow works fine for 1 call at a time. However, if we make multiple (even 2)

*G729 calls in parallel the media becomes very choppy and choppiness seems
to *

*increase with increasing number of parallel G729 calls. The root cause of *

*the problem seems to be the fact that encoding and decoding happen in a *

*single thread for all the calls (I printed out thread IDs in the encode and

*decode routine of G729 - thread ID was same). The small verification I did

*was that I placed 2 parallel (G729) calls and heard choppy media. On
plaving *

*of the calls on hold the choppiness dissappeared and reappeared when the *

*held call was unheld.*

*I tried increasing the number of worker threads being created in endpoint.c

*to no effect. I was contemplating of how to put encode and decode in *

*seperate threads. Maybe Benny or someone whose faced a similar problem
could *

*give some suggestions?*



On Fri, May 9, 2008 at 6:50 PM, Benny Prijono <bennylp at pjsip.org> wrote:

> On Thu, May 8, 2008 at 10:08 AM, Thanh Nghiem Le <nimkgb at gmail.com> wrote:
> > Hi all,
> > I have been successfull in adding the G729 codec to the pjmedia-codec
> but I
> > think that I still miss something.
> >
> > For the nomal calls (point to point and using G729 codec) there is no
> > problem at all and the sound quality is good. But when I try to make the
> > conference by connecting ports together, the sound become horible.
> >
> What ports are you connecting in the bridge?
> > Note: The sound quality is good on conference if I dont use G729.
> >
> And what platform is this? And any other settings? A log file produced
> at level 5 will probably help more.
> Cheers
>  Benny
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080512/1699ce1c/attachment.html>

More information about the pjsip mailing list