Opened 17 years ago

Closed 17 years ago

#178 closed enhancement (fixed)

Add flag in SDP negotiator to specify codec order preference (thanks Esbjörn Dominique)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.3
Component: pjmedia Version: 0.5.10.2
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Currently the SDP negotiator always obey the codec preference as specified by remote. Some applications may want to use local preference instead, so there should be a flag to be set in negotiator to specify which codec preference to use when negotiating the SDPs.

Change History (3)

comment:1 Changed 17 years ago by bennylp

  • Milestone changed from release-0.6.0 to release-0.5.10.2
  • Version changed from trunk to 0.5.10.2

comment:2 Changed 17 years ago by bennylp

  • Milestone changed from release-0.5.10.2 to release-0.5.10.3

comment:3 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Add flag in SDP negotiator to specify codec selection preference to Add flag in SDP negotiator to specify codec order preference (thanks Esbjörn Dominique)

Fixed in r1071.

Application may change the behavior of the negotiator by two means:

  • Use PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER configuration macro
  • Call pjmedia_sdp_neg_set_prefer_remote_codec_order() to change the negotiator behavior during run-time.

Please see the r1071 changeset for the details.

Note: See TracTickets for help on using tickets.