Any Solution for PjSIP APS implementation ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Srivastav,
? APS issues is being fixed now,?without PublisherID, you cannot do it.


?

Have a look @ my small web-page:
http://www.geocities.com/muki_champs

Regards, 
Mukesh Kumar, 
Sr.Software Engineer,
Mobile Application Developer.
Hyderabad. 
India. 
+91-9397845485 (M)?





________________________________
From: Srivatsan <srivatsan@xxxxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Friday, January 2, 2009 12:53:22 PM
Subject: Any Solution for PjSIP APS implementation ?

Hi All,

Any solution / fix made for APS issue in PjSIP for Symbian platform?

ISSUE :

Source Location : pjmedia\src\pjmedia\symbian_sound_aps.cpp

After input steam and output stream initialized of Audio Proxy Server, the queue handler sends the recorder data via an interface to pjmedia_snd_rec_cb? recCb_;

case ERecordQueue:
? ? ? if (buffer.iCommand == EAPSRecordData)
? ? ? {
? ? ? ? iObserver->RecCb(buffer);
? ? ? }

The above case sends recorded data via interface to below method,

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

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

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

The method looks for 160 bytes, which as been lopped using for loop. But the problem here is only buffer size of 14 is received per each frame. So? while trying to loop it 160 times using for loop the app. crashes with user 21 panic(symbian panic code) which means out of bounce exception.

So what could be the solution for this problem? i have publisher ID, developer certificate and also made a sample application which does not look for any buffer size using APS for testing, which works fine.
The problem in PjSIP is the buffer size .. please some one suggest your the view and ideas for this problem.

-- Thanks And Regards,
Srivatsan.D,





_______________________________________________
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/20090101/ff5abc0c/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux