On Fri, Jun 4, 2010 at 5:42 AM, Bemali Wickramanayake <[email protected]> wrote: > Hi, > I have made a custom SDP application using RTC client, and we are testing it > with Kapanga softphone. > The problem we encountered is that it fails when it comes to SDP > negotiations. > The sample SDPs we have used to negotiate were (Kapanga generates its own > SDP) > > Offer: (from Kapanga) > > v=0 > o=Username 1275190405 1275196871 IN IP4 10.8.148.173 > s=Kapanga [1275190405] > c=IN IP4 10.8.148.173 > t=0 0 > m=audio 5274 RTP/AVP 0 8 101 > a=rtpmap:0 pcmu/8000 > a=sendrecv > a=rtcp:5275 > a=maxptime:20 > a=ptime:20 > a=rtpmap:8 pcma/8000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15,36 > m=video 5276 RTP/AVP 34 > a=rtpmap:34 h263/90000 > a=fmtp:34 QCIF=2 > a=sendrecv > a=rtcp:5277 > > > > Answer > > v=0\no=Username 1275190391 1275192604 IN IP4 10.8.155.170\ns=MoTV > [1275190391]\nc=IN IP4 10.8.155.170\nt=0 0\nm=audio 5290\nRTP/AVP 8 > 101\na=rtpmap:8 > pcma/8000\na=sendrecv\na=rtcp:5291\na=maxptime:20\na=ptime:20\na=rtpmap:101 > telephone-event/8000\na=fmtp:101 0-11,16\nm=video 5292 RTP/AVP > 34\na=rtpmap:34 h263/90000\na=fmtp:34 QCIF=2\na=sendrecv\na=rtcp:5293 > > > > I have included newline characters in order to facilitate the procedure of > combining the entire SDP header into one CString. >
Lines in the SDP should be CRLF terminated IIRC, though only newline should also be accepted. Could it be that the UA you are testing doesn't support this? -- /Saúl http://saghul.net | http://sipdoc.net _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
