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