Srivatsan | 2 Jan 2009 08:39

Re: Any Solution for PjSIP APS implementation ?

Dear Mukesh ,

APS issue fixed in PjSIP?

I have PublisherID and developers certificate.I have made sample 
application using APS and working fine with no issues.

Can you please suggest from which version the issue is fixed in PjSIP? i 
have downloaded latest source code from PjSIP trunk and tested but still 
the problem persists.
Have you implemented and succeeded with PjSIP APS , please suggest what 
are the steps taken to fix it. More than a month i struck with the APS 
problem.

Please help me.

Mukesh Srivastav wrote:
> Dear Srivastav,
>   APS issues is being fixed now, without PublisherID, you cannot do it.
>  
>
>  
>
> Have a look  <at>  my small web-page:
> http://www.geocities.com/muki_champs
>
> Regards,
> Mukesh Kumar,
> Sr.Software Engineer,
> Mobile Application Developer.
(Continue reading)

Srivatsan | 2 Jan 2009 10:24

Re: Any Solution for PjSIP APS implementation ?

Dear Mukesh ,

Ya the problem is sorted out. Thank you very much....PjSIP works with 
APS :-)

Srivatsan wrote:
>
> Dear Mukesh ,
>
> APS issue fixed in PjSIP?
>
> I have PublisherID and developers certificate.I have made sample 
> application using APS and working fine with no issues.
>
> Can you please suggest from which version the issue is fixed in PjSIP? 
> i have downloaded latest source code from PjSIP trunk and tested but 
> still the problem persists.
> Have you implemented and succeeded with PjSIP APS , please suggest 
> what are the steps taken to fix it. More than a month i struck with 
> the APS problem.
>
> Please help me.
>
> Mukesh Srivastav wrote:
>> Dear Srivastav,
>>   APS issues is being fixed now, without PublisherID, you cannot do it.
>>  
>>
>>  
>>
(Continue reading)

Nanang Izzuddin | 14 Jan 2009 17:32
Favicon

Re: Any Solution for PjSIP APS implementation ?

Hi Srivatsan,

How did your problem (recorder callback receiving APS buffer with size
14 that leads to panic USER 21) sorted out? Just curious since it's
kind of new issue for the APS implementation. (Btw, there was another
buffer issue, G711 frame length variation issue, in the APS
implementation (only for FP1/2 devices), however it has been fixed by
http://trac.pjsip.org/repos/ticket/680).

When the problem occured, did you use original symbian_sound_aps.cpp
or modified one (e.g: changing codec from G711 codec to another one,
or may be activating VAD)?

Regards,
nanang

On Fri, Jan 2, 2009 at 4:24 PM, Srivatsan <srivatsan <at> ongobiz.com> wrote:
> Dear Mukesh ,
>
> Ya the problem is sorted out. Thank you very much....PjSIP works with APS
> :-)
>
> Srivatsan wrote:
>>
>> Dear Mukesh ,
>>
>> APS issue fixed in PjSIP?
>>
>> I have PublisherID and developers certificate.I have made sample
>> application using APS and working fine with no issues.
(Continue reading)

Srivatsan Deenadayalan | 14 Jan 2009 18:19

Re: Any Solution for PjSIP APS implementation ?

Hi Nanang ,

i used original symbian_sound_aps.cpp, the modification which i did is 
changed audio frame ( audio_frame_ptime ) from 20 to 10 and buffer size 
in call back method, which is given below.
Rest of others is same with no changes.

This change works fine with s60 3rd edition fp1 and above, but s60 3rd 
edition gives other noises.

void CPjAudioEngine::RecCb(TAPSCommBuffer &buffer)
 {
 pj_int16_t buf[80];
 pj_assert(buffer.iBuffer[0] == 1 && buffer.iBuffer[1] == 0);

 for (int i=0; i<80; ++i)
   buf[i] = pjmedia_alaw2linear(buffer.iBuffer[i+2]);

 recCb_(userData_, 0, buf, sizeof(buf));
 }

Please let me know your comments.

Nanang Izzuddin wrote:
> Hi Srivatsan,
>
> How did your problem (recorder callback receiving APS buffer with size
> 14 that leads to panic USER 21) sorted out? Just curious since it's
> kind of new issue for the APS implementation. (Btw, there was another
> buffer issue, G711 frame length variation issue, in the APS
(Continue reading)

Nanang Izzuddin | 14 Jan 2009 19:15
Favicon

Re: Any Solution for PjSIP APS implementation ?

Hi Srivatsan,

Your modification is not really complete actually, you need to modify
the PlayCb as well. However, as mentioned before, G711 frame length
variation issue was solved by ticket #680, please update your source
from SVN trunk. I was curious about the 14 bytes in the recorder
callback, which may be a different issue.

Regards,
nanang

On Thu, Jan 15, 2009 at 12:19 AM, Srivatsan Deenadayalan
<srivatsan <at> ongobiz.com> wrote:
> Hi Nanang ,
>
> i used original symbian_sound_aps.cpp, the modification which i did is
> changed audio frame ( audio_frame_ptime ) from 20 to 10 and buffer size in
> call back method, which is given below.
> Rest of others is same with no changes.
>
> This change works fine with s60 3rd edition fp1 and above, but s60 3rd
> edition gives other noises.
>
> void CPjAudioEngine::RecCb(TAPSCommBuffer &buffer)
> {
> pj_int16_t buf[80];
> pj_assert(buffer.iBuffer[0] == 1 && buffer.iBuffer[1] == 0);
>
> for (int i=0; i<80; ++i)
>  buf[i] = pjmedia_alaw2linear(buffer.iBuffer[i+2]);
(Continue reading)


Gmane