#2026 closed enhancement (fixed)

Add option to for the SDP version to not increment when there's no change from previous answer/offer

Reported by: riza Owned by: nanang
Priority: normal Milestone: release-2.7
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

RFC3268 recommends that the version must be increased when there's a change in the SDP.

Currently, subsequent offer/answer will always have its origin version
incremented. The reason for this is that we believe it will be safer to force answerer to check things by increasing the session version (just in case some changes is not explicitly modify SDP string, for example, some H264 param updates such as resolution will not change SDP).

This patch will introduce new compile time setting PJMEDIA_SDP_NEG_COMPARE_BEFORE_INC_VERSION to allow the stack compare the SDP of the subsequent offer/answer to the previous one.

It is disabled by default for performance reason and to maintain backward capability.

Change History (1)

comment:1 Changed 23 months ago by riza

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

In 5619:

Fix #2026: Add option to for the SDP version to not increment when there's no
change from previous answer/offer.

Note: See TracTickets for help on using tickets.