Sending my own audio frames

RI
Rawshan Iajdani
Sat, Jan 24, 2009 9:14 PM

Fabio,

Seems like I am going to start working on this G.729 APS implementation. I
did some home work and I believe it shouldn't be a big deal. Is there
anybody else working on this issue so that I could co-ordinate with him?

Rawshan

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Fabio Pietrosanti (naif)
Sent: Monday, January 12, 2009 2:55 PM
To: pjsip list
Subject: Re: [pjsip] APS Implementation

It's a never ending story, a hook inside PJMEDIA framework to handle
direct hardware encoding have to be written in order to leverage Nokia
S60 hardware code.

And it has to be written considering that APS on FP2+ is already
deprecated and will need to be changed to VAS.

Hardware codec will provide royalty-paid codec for free (already
licensed on S60 platform) and precious battery saving, but will remove
some features like conference calling.

It's something that could be estimated in 20-30 man working days
depending on the expertise on pjsip platform.

Of the player of the discussion is there someone willing to invest such
time?

Waiting for yours

Fabio Pietrosanti

Rawshan Iajdani wrote:

Well its nothing to do with APS. I was talking about the wrapper. If
you want to implement the  g729 you need to rewrite the wrapper itself
and some changes should be made in the PJMEDIA codec itself.

This wrapper does not pass g.711 directly to the PJMEDIA rather
convert that to PCM and pass that. If you even use g729 of APS, you
still need to convert that to PCM before passing that to PJMEDIA.
PJMEDIA will again have to convert this PCM to g.729.

So what is the use????

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] *On Behalf Of *S. M. Nazmul
Hasan (Opu)
Sent: Sunday, January 11, 2009 7:01 PM
To: pjsip list
Subject: Re: [pjsip] APS Implementation

I dont think APS implementation(G729) is so hard as you think. APS
already has G729 codec support that is if i use APS i must get the
implementation of g729 innerly . i just have to change the procedure
to use g729 codec....like some parameter and encoding decoding
technique. ...

APS use 24byte data ...thats a point also...

On Sun, Jan 11, 2009 at 3:46 PM, Rawshan Iajdani <iajdani@provati.com
mailto:iajdani@provati.com> wrote:

I don't think you can with this current wrapper.

So far I understood, the current wrapper just take PCM and convert
that to g.711 and pass it to APS and vice versa. You still need your
own g.729 implementation. This wrapper just take PCM as input and output..

Correct me if I were wrong..

From: pjsip-bounces@lists.pjsip.org
mailto:pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org
mailto:pjsip-bounces@lists.pjsip.org] *On Behalf Of *S. M. Nazmul
Hasan (Opu)
Sent: Sunday, January 11, 2009 3:36 PM

To: pjsip list
Subject: Re: [pjsip] APS Implementation

Hi Pai,

Can you please tell me if i want to g729 from Aps what should i need
to do?

in the line of encoder mode

iSession.SetEncoderMode(EALawOr20ms);

is for g711 but i saw no encoding mode for g729 . should i block those
line if i want to use g729?

Thanks

On Sat, Jan 10, 2009 at 12:19 AM, Pai Peng <sipaipv6@gmail.com
mailto:sipaipv6@gmail.com> wrote:

Hi,

in source symbian_sound_aps.cpp:

void CPjAudioEngine::RecCb(TAPSCommBuffer &buffer)
{
...
buf[i] = pjmedia_alaw2linear(iBuffer[i]);
...
}

TInt CPjAudioEngine::StartStreamL()
{
....
iSession.SetEncoderMode(EALawOr20ms);
iSession.SetDecoderMode(EALawOr20ms);
...
}

audio is in G711-A Format.

The  APS supports the following codecs: AMR, G711, G729 and iLBC.

If you like use other codec for encoding or decoding, you should
change the SetEncoderMode() and SetDecoderMode().

Pai

On Fri, Jan 9, 2009 at 5:54 PM, Rawshan Iajdani <iajdani@provati.com
mailto:iajdani@provati.com> wrote:

 How does APS implementation works in Symbian_ua?

 Does g711,gsm,speex all works fine?

  

 APS->G711->PCM->gsm

 Or

 APS->gsm??

  

 Does it do the transcoding or it just only works for g711 and not
 gsm and speex?

  

 thanks

  

  

 _______________________________________________
 Visit our blog: http://blog.pjsip.org

 pjsip mailing list
 pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org>
 http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org mailto:pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
S. M. Nazmul Hasan Opu
Software Engineer
R & D Application
Dhaka, Bangladesh
Mob: +880 1712 901 764


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org mailto:pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
S. M. Nazmul Hasan Opu
Software Engineer
R & D Application
Dhaka, Bangladesh
Mob: +880 1712 901 764



Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Fabio, Seems like I am going to start working on this G.729 APS implementation. I did some home work and I believe it shouldn't be a big deal. Is there anybody else working on this issue so that I could co-ordinate with him? Rawshan -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Fabio Pietrosanti (naif) Sent: Monday, January 12, 2009 2:55 PM To: pjsip list Subject: Re: [pjsip] APS Implementation It's a never ending story, a hook inside PJMEDIA framework to handle direct hardware encoding have to be written in order to leverage Nokia S60 hardware code. And it has to be written considering that APS on FP2+ is already deprecated and will need to be changed to VAS. Hardware codec will provide royalty-paid codec for free (already licensed on S60 platform) and precious battery saving, but will remove some features like conference calling. It's something that could be estimated in 20-30 man working days depending on the expertise on pjsip platform. Of the player of the discussion is there someone willing to invest such time? Waiting for yours Fabio Pietrosanti Rawshan Iajdani wrote: > > Well its nothing to do with APS. I was talking about the wrapper. If > you want to implement the g729 you need to rewrite the wrapper itself > and some changes should be made in the PJMEDIA codec itself. > > This wrapper does not pass g.711 directly to the PJMEDIA rather > convert that to PCM and pass that. If you even use g729 of APS, you > still need to convert that to PCM before passing that to PJMEDIA. > PJMEDIA will again have to convert this PCM to g.729. > > So what is the use???? > > > > > > *From:* pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] *On Behalf Of *S. M. Nazmul > Hasan (Opu) > *Sent:* Sunday, January 11, 2009 7:01 PM > *To:* pjsip list > *Subject:* Re: [pjsip] APS Implementation > > > > I dont think APS implementation(G729) is so hard as you think. APS > already has G729 codec support that is if i use APS i must get the > implementation of g729 innerly . i just have to change the procedure > to use g729 codec....like some parameter and encoding decoding > technique. ... > > APS use 24byte data ...thats a point also... > > On Sun, Jan 11, 2009 at 3:46 PM, Rawshan Iajdani <iajdani@provati.com > <mailto:iajdani@provati.com>> wrote: > > I don't think you can with this current wrapper. > > So far I understood, the current wrapper just take PCM and convert > that to g.711 and pass it to APS and vice versa. You still need your > own g.729 implementation. This wrapper just take PCM as input and output.. > > > > Correct me if I were wrong.. > > > > > > > > *From:* pjsip-bounces@lists.pjsip.org > <mailto:pjsip-bounces@lists.pjsip.org> > [mailto:pjsip-bounces@lists.pjsip.org > <mailto:pjsip-bounces@lists.pjsip.org>] *On Behalf Of *S. M. Nazmul > Hasan (Opu) > *Sent:* Sunday, January 11, 2009 3:36 PM > > > *To:* pjsip list > *Subject:* Re: [pjsip] APS Implementation > > > > Hi Pai, > > > > Can you please tell me if i want to g729 from Aps what should i need > to do? > > in the line of encoder mode > > iSession.SetEncoderMode(EALawOr20ms); > > is for g711 but i saw no encoding mode for g729 . should i block those > line if i want to use g729? > > Thanks > > On Sat, Jan 10, 2009 at 12:19 AM, Pai Peng <sipaipv6@gmail.com > <mailto:sipaipv6@gmail.com>> wrote: > > Hi, > > > in source symbian_sound_aps.cpp: > > void CPjAudioEngine::RecCb(TAPSCommBuffer &buffer) > { > ... > buf[i] = pjmedia_alaw2linear(iBuffer[i]); > ... > } > > TInt CPjAudioEngine::StartStreamL() > { > .... > iSession.SetEncoderMode(EALawOr20ms); > iSession.SetDecoderMode(EALawOr20ms); > ... > } > > audio is in G711-A Format. > > > The APS supports the following codecs: AMR, G711, G729 and iLBC. > > If you like use other codec for encoding or decoding, you should > change the SetEncoderMode() and SetDecoderMode(). > > > Pai > > On Fri, Jan 9, 2009 at 5:54 PM, Rawshan Iajdani <iajdani@provati.com > <mailto:iajdani@provati.com>> wrote: > > How does APS implementation works in Symbian_ua? > > Does g711,gsm,speex all works fine? > > > > APS->G711->PCM->gsm > > Or > > APS->gsm?? > > > > Does it do the transcoding or it just only works for g711 and not > gsm and speex? > > > > thanks > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > -- > S. M. Nazmul Hasan Opu > Software Engineer > R & D Application > Dhaka, Bangladesh > Mob: +880 1712 901 764 > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org <mailto:pjsip@lists.pjsip.org> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > -- > S. M. Nazmul Hasan Opu > Software Engineer > R & D Application > Dhaka, Bangladesh > Mob: +880 1712 901 764 > > ------------------------------------------------------------------------ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
BP
Benny Prijono
Mon, Jan 26, 2009 8:28 AM

On Sat, Jan 24, 2009 at 9:14 PM, Rawshan Iajdani iajdani@provati.comwrote:

Fabio,

Seems like I am going to start working on this G.729 APS implementation. I
did some home work and I believe it shouldn't be a big deal. Is there
anybody else working on this issue so that I could co-ordinate with him?

Actually we are also working on this, and in fact that will be the focus of
the next 1.1 release (http://trac.pjsip.org/repos/milestone/release-1.1).
Didn't I mention this? Sorry if not.

cheers
Benny

On Sat, Jan 24, 2009 at 9:14 PM, Rawshan Iajdani <iajdani@provati.com>wrote: > Fabio, > > Seems like I am going to start working on this G.729 APS implementation. I > did some home work and I believe it shouldn't be a big deal. Is there > anybody else working on this issue so that I could co-ordinate with him? > > Actually we are also working on this, and in fact that will be the focus of the next 1.1 release (http://trac.pjsip.org/repos/milestone/release-1.1). Didn't I mention this? Sorry if not. cheers Benny