Opened 17 years ago

Closed 17 years ago

#527 closed enhancement (fixed)

More lenient SDP negotiator

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-0.9.0
Component: pjmedia Version: trunk
Keywords: Cc: Philippe Leuba
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Accept the following non-standard scenarios in the SDP negotiator:

  1. Receiving answer with non-matching media lines (e.g. offer has m=audio and m=video lines, and answer only has m=audio line). In this case set the unmatched local media line with port zero.
  2. Generating subsequent offer using sdp_neg_modify_local_offer() with non-matching media lines (e.g. current/active SDP's have m=audio and m=video lines, and the new offer only has m=audio line). In this case, the negotiator will fix the new offer by adding the missing media line, with port number set to zero. Also the negotiator will overwrite the session ID and version number in the SDP origin field to make sure that the session ID stays the same and version number has been increased.

Attachments (2)

ticket527.patch (2.3 KB) - added by nanang 17 years ago.
ticket527.2.patch (19.1 KB) - added by nanang 17 years ago.

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by nanang

comment:1 Changed 17 years ago by bennylp

  • Description modified (diff)
  • Summary changed from Handle SDP negotiation when remote sends answer with unmatching m= lines to More lenient SDP negotiator

Changed 17 years ago by nanang

comment:2 Changed 17 years ago by nanang

In r1950: committed ticket527.2.patch

comment:3 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Done, closing the ticket.

Note: See TracTickets for help on using tickets.