locked
RTC client custom SDP media negotiation fails RRS feed

  • Question

  • Hi,

    When I try to answer a call from another SIP phone (kapanga) with RTC custom SDP application with following SDP, the media negotiation fails

    Cannot recognize the reason

    Offer:

    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.

     

    What's the wrong with above??

    Sunday, May 30, 2010 5:47 AM