Thanks a lot Khoa for the explanation. I somehow changed this payloadtype to 13 which is comfort noise but now I get 'Bad RTP pt 13'. Comfort noise is not negotiated in SDP but the other end sends this if there is no audio. How can I make PJSIP ignore this? Thanks, Tanvi On Wed, Aug 14, 2013 at 9:20 PM, Khoa Pham <onmyway133 at gmail.com> wrote: > Hi, > > When pjmedia_stream_create(), it will create 2 channel, one for encoding, > and one for decoding. They need tx_pt and rx_pt respectively. These tx_pt > and rx_pt are deduced from SDP. > In your case, rtp packet header tells payload is 19, but previously, you > tell in SDP that your codec use 0 as payload type > > > > On Thu, Aug 15, 2013 at 4:26 AM, Tanvi Sachdeva <tanvi164 at gmail.com>wrote: > >> Hi Experts, >> >> I am trying to use PJSIP application to connect to a server, I am able to >> connect to the server successfully but when the connection is made, I get a >> 'Bad RTP pt19(expecting 0)' error. Also, no sound could be heard through >> the audio out. >> >> Please help me with this. I am totally stuck. >> >> Thanks in Advance, >> Tanvi >> >> _______________________________________________ >> 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 >> >> > > > -- > Khoa Pham > HCMC University of Science > www.fantageek.com > > _______________________________________________ > 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/20130814/ad186686/attachment-0001.html>