For the details, refer to RFC 4566. I'll assume you're establishing an audio only connection with G.711 a-law/u-law. SDP is a plain text where every line ends with CRLF. I think the minimal SDP you'll need to create will be like this: v=0 o=- 1234567 1 IN IP4 <your-ip-address> s=session name c=IN IP4 <your-ip-address> t=0 0 a=sendrecv m=audio <your-local-port> RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 Regards, Paulo On 1/9/2011 2:16 PM, Forrest79 at seznam.cz wrote: > I need use XPCOM, but it is not the most important thing. First, I need to know, how to create local SDP for send in INVITE message and how to start SDP negotiate when I receive invite message if I have my own SIP library and I want use only PjMedia for RTP a media stream... > > _______________________________________________ > 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