Bad RTP pt 8 (expecting 9) (Althaf Dev)

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

 



Many thanks for the help and explanation. I will talk to the vendor of 
the AVM router about that problem.

Because i am not an experienced and good programmer, could someone help 
me to modify *pjsua* to implement the "fix"?

Regards,

Ruediger



Message: 1 Date: Tue, 2 Oct 2012 20:49:05 +0530 From: Althaf Dev 
<althaf.dlevel at gmail.com> To: pjsip list <pjsip at lists.pjsip.org> 
Subject: Re: Bad RTP pt 8 (expecting 9) Message-ID: 
<CANzTE=QcJCxrtRLRRncoR5BRMzUzGTLjsx2+pvefaOZ3vGy6YQ at mail.gmail.com> 
Content-Type: text/plain; charset=ISO-8859-1 It has has something to do 
with audio CODEC that is being used, m=audio 4000 RTP/AVP 8 98 97 104 3 
0 99 9 96 Seems like pjsip is expecting a audio payload type '9' while 
it is receiving '8' during the RTP audio session. Try to set the 'rx' 
codec to be of payload type '8'. AV profile from the PJMedia codec 
framework PJMEDIA_RTP_PT_PCMA = 8, PJMEDIA_RTP_PT_G722 = 9 This mean the 
RTP audio transmitter is sending PCMA encoded audio while PJSip stack 
expects G722. So work around is the RTP audio transmitter can't be 
modified, set pjsip to expect codec 8. Workaround 1) Load PCMA codec via 
pjmedia_codec_mgr_find_codecs_by_id(codec_mgr, "pcma", &codec_info..) 2) 
Once step 1 is complete, codec_info will be will filled, and use this 
codec_info to set "pmedia_stream_info stream_info" ie stream_info.rx_pt 
= codec_info->pt // which our pcma codec, now pjsip is expecting pcma 
'8' than 9. ------------------------------ Subject: Digest Footer 
_______________________________________________ pjsip mailing list 
pjsip at lists.pjsip.org 
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org 
------------------------------ End of pjsip Digest, Vol 62, Issue 10 
*************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121004/94664558/attachment-0001.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