Ticket #527 (closed enhancement: fixed)

Opened 9 years ago

Last modified 9 years ago

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) (diff)

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

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

Change History

Changed 9 years ago by nanang

comment:1 Changed 9 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 9 years ago by nanang

comment:2 Changed 9 years ago by nanang

In r1950: committed ticket527.2.patch

comment:3 Changed 9 years ago by bennylp

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

Done, closing the ticket.

Note: See TracTickets for help on using tickets.