[pjsip] How to enable GSM codec On Symbian OS

Nanang Izzuddin nanang.izzuddin at gmail.com
Wed Feb 20 16:03:43 EST 2008


Hi Karthik,

I just had a chance to test on E90 (also having newer OS than E65/E70),
all codecs (G711 + GSM) work fine.
I build the symbian_ua using S60 3rd ed MR SDK, haven't tried other SDK.

nanang


On 16/02/2008, Karthik <karthik at cytrion.com> wrote:
>
> Hello  Nanang ,
>
>
> I  have installed the same  executable on N80 and it worked well with out
>
> any issues with the audio but the same never works on N95.
>
>
>
> On Friday 15 February 2008 02:10, Nanang Izzuddin wrote:
> > Hi Karthik,
> >
> > I think adding GSM codec will not disturb the existing codec.
> > In this case, you may need to perform 'clean all' first before
> performing
> > build.
> >
> > Or to make it sure, just get the fresh copy from svn,
> > modify the macro configuration in ua.cpp appropriately,
> > then build symbian_ua from that fresh condition.
> >
> > nanang
> >
> > On 14/02/2008, Karthik <karthik at cytrion.com> wrote:
> > > Okie , Let  me try to debug this .
> > >
> > >  Yes   the other codecs  stopped working
> > >
> > >  after installing the GSM codec .
> > >
> > >  --
> > >
> > > Karthik
> > >
> > >  On Friday 15 February 2008 01:29, Nanang Izzuddin wrote:
> > >  > Perhaps you can try to debug on target device and put breakpoint in
> > >  > the gsm_codec_decode/encode to see whether it is called, then check
> > >  > the variables,
> > >  > the PCM generated (no sound usually all samples is set to around/=
> 0),
> > >  > and also notice the gsm_decode return value.
> > >  >
> > >  > > Earlier when I had no GSM codec ,everything worked fine  on my
> N95
> > >  > > device.
> > >  >
> > >  > Does that mean the other codecs(G711a/u) are also troubled after
> GSM
> > >  > included?
> > >  >
> > >  > nanang
> > >  >
> > >  > On 14/02/2008, Karthik <karthik at cytrion.com> wrote:
> > >  > > Hello Nanang ,
> > >  > >
> > >  > >           I just checked out the latest version from the SVN ,
> but
> > >  > > still have
> > >  > >
> > >  > >         the same problem .
> > >  > >
> > >  > >  On Friday 15 February 2008 00:26, Nanang Izzuddin wrote:
> > >  > >  > I have no idea where the problem is, and unfortunately I don't
> > >  > >  > have the N95 to test.
> > >  > >  > But since Benny have already put this into svn, perhaps you
> could
> > >  > >  > have another try with that.
> > >  > >  >
> > >  > >  > nanang
> > >  > >  >
> > >  > >  > On 14/02/2008, Karthik <karthik at cytrion.com> wrote:
> > >  > >  > > Hello  Nanang ,
> > >  > >  > >
> > >  > >  > >
> > >  > >  > >   There is no sound at all from the device . Also I have
> tried
> > >  > >  > > GCCE UREL for
> > >  > >  > >
> > >  > >  > >  my device .
> > >  > >  > >
> > >  > >  > >   Earlier when I had no GSM codec ,everything worked
> fine  on
> > >  > >  > > my N95 device .
> > >  > >  > >
> > >  > >  > >  On Thursday 14 February 2008 16:05, Nanang Izzuddin wrote:
> > >  > >  > >  > Hi Karthik,
> > >  > >  > >  >
> > >  > >  > >  > What is the symptom? Does it stutter? or no sound at all?
> or
> > >  > >  > >  > other?
> > >  > >  > >  >
> > >  > >  > >  > Oh ya, my build configuration was GCCE UREL (release on
> > >  > >  > >  > target device). I havent tried for other configurations.
> > >  > >  > >  >
> > >  > >  > >  > AFAIK, N95 has faster processor than E65, the device I
> used.
> > >  > >  > >  > So I guess the problem is not about the CPU load then.
> > >  > >  > >  >
> > >  > >  > >  > nanang
> > >  > >  > >  >
> > >  > >  > >  > On 13/02/2008, Karthik <karthik at cytrion.com> wrote:
> > >  > >  > >  > > Hello Nanang ,
> > >  > >  > >  > >
> > >  > >  > >  > >
> > >  > >  > >  > >  I just tried your procedure for enabling the GSM codec
> on
> > >  > >  > >  > > Symbian
> > >  > >  > >  > >
> > >  > >  > >  > >  and it went well  but sound  does not work on my N95 .
> > >  > >  > >  > >
> > >  > >  > >  > >  Please advise .
> > >  > >  > >  > >
> > >  > >  > >  > >  On Wednesday 13 February 2008 22:34, Nanang Izzuddin
> wrote:
> > >  > >  > >  > >  > Hi Jones,
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > I have just done an experiment of enabling GSM codec
> on
> > >  > >  > >  > >  > Symbian, and the result is good: GSM codec works
> well
> > >  > >  > >  > >  > on Nokia E65.
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > The steps are here:
> > >  > >  > >  > >  > 1. make mmp for libgsmcodec, that contains souce
> files
> > >  > >  > >  > >  > of third party gsm codec, you can see what files are
> > >  > >  > >  > >  > used (not all files are used) from vs6/vs8 project.
> > >  > >  > >  > >  > (and also add gsm.c wrapper for pjmedia-codec here,
> or
> > >  > >  > >  > >  > otherwise put the wrapper in pjmedia.mmp) 2. modify
> > >  > >  > >  > >  > bld.inf to include libgsmcodec.mmp
> > >  > >  > >  > >  > 3. modify symbian_ua.mmp to include libgsmcodec.libin
> > >  > >  > >  > >  > the linking stage 4. set macro PJMEDIA_HAS_GSM_CODEC
> to
> > >  > >  > >  > >  > 1 for symbian platform (in config_site_sample.h)
> > >  > >  > >  > >  > 5. refresh the bld.inf on the Carbide,
> clean/rebuild,
> > >  > >  > >  > >  > and test.
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > That's all!
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > nanang
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > On 13/02/2008, Jones David <davidjones96 at yahoo.co.in
> >
> wrote:
> > >  > >  > >  > >  > > Hi,
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >    Pjsip is worked On Symbin,i ported pjsip on
> > >  > >  > >  > >  > > mobile.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > i made a call its working fine.its taking codec as
> > >  > >  > >  > >  > > PCMU and PCMA
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > i want to enable GSM codec.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > for enabling GSM CODEC i used this function
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > pjsua_codec_set_priority("gsm/8000",100);
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > still its taken PCMU and PCMA.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > i checked with the windows XP,its taken gsm codec.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > could you tell me how to enable GSM Codec.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > regards
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > David
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >  ________________________________
> > >  > >  > >  > >  > >  Get the freedom to save as many mails as you
> wish.
> > >  > >  > >  > >  > > Click here to know how.
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > > _______________________________________________
> > >  > >  > >  > >  > >  Visit our blog: http://blog.pjsip.org
> > >  > >  > >  > >  > >
> > >  > >  > >  > >  > >  pjsip mailing list
> > >  > >  > >  > >  > >  pjsip at lists.pjsip.org
>
> > >  > >  > >  > >  > >
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.p
> > >  > >  > >  > >  > >jsip. org
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > _______________________________________________
>
> > >  > >  > >  > >  > Visit our blog: http://blog.pjsip.org
> > >  > >  > >  > >  >
> > >  > >  > >  > >  > pjsip mailing list
> > >  > >  > >  > >  > pjsip at lists.pjsip.org
> > >  > >  > >  > >  >
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjs
>
> > >  > >  > >  > >  >ip.or g
> > >  > >  > >  > >
> > >  > >  > >  > >  _______________________________________________
> > >  > >  > >  > >  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
> > >  > >  > >  >
> > >  > >  > >  > _______________________________________________
> > >  > >  > >  > Visit our blog: http://blog.pjsip.org
> > >  > >  > >  >
> > >  > >  > >  > pjsip mailing list
> > >  > >  > >  > pjsip at lists.pjsip.org
> > >  > >  > >  >
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.or
> > >  > >  > >  >g
> > >  > >  > >
> > >  > >  > >  _______________________________________________
> > >  > >  > >  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
> > >  > >  >
> > >  > >  > _______________________________________________
> > >  > >  > 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
> > >  > >
> > >  > >  _______________________________________________
> > >  > >  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
> > >  >
> > >  > _______________________________________________
> > >  > 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
> > >
> > >  _______________________________________________
> > >  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
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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/20080220/8bff8836/attachment.html>


More information about the pjsip mailing list