Ticket #1980 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

Assertion if remote removes some media lines in previous SDP negotiations

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.6
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by ming) (diff)

After remote removes some media lines in previous SDP negotiations, when trying to create an offer, PJSIP will trigger an assertion:

Assertion failed: mi < s_->media_count, file pjsip\trunk\pjsip\src\pjsua-lib\pjsua_media.c

Scenario:

  • Receive incoming call with 2 medias, 1 audio and 1 unsupported media (such as video for PJSIP compiled with audio only)
  • Receive re-invite with only one media (audio)
  • Try to send re-invite from PJSIP

Thanks to Eize Slange for the report.

Change History

comment:1 Changed 5 months ago by ming

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

In 5487:

Fixed #1980: Assertion if remote removes some media lines in previous SDP negotiations

comment:2 Changed 5 months ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.