Opened 16 years ago

Last modified 16 years ago

#527 closed enhancement

More lenient SDP negotiator — at Version 1

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.

Change History (3)

Changed 16 years ago by nanang

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

Note: See TracTickets for help on using tickets.