Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1980 closed defect (fixed)

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)

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

comment:1 Changed 8 years ago by ming

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

In 5487:

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

comment:2 Changed 8 years ago by ming

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