Opened 6 years ago

Closed 6 years ago

#2145 closed defect (fixed)

Don't rearrange media when sending re-INVITE with PJSUA_CALL_REINIT_MEDIA

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

Description

When sending re-INVITE with PJSUA_CALL_REINIT_MEDIA set, the media will reinitialize and the call media order might be different with the media SDP order.

Currently, on re-INVITE with PJSUA_CALL_REINIT_MEDIA the call media is rearrange and later the media order on SDP might get change on pjmedia_sdp_neg_modify_local_offer2().

This will lead to PJMEDIA_EINVALIMEDIATYPE when calling pjmedia_stream_info_from_sdp().

This ticket will avoid rearrangeing media when reinitializing media.

Change History (1)

comment:1 Changed 6 years ago by riza

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

In 5878:

Close #2145: Don't rearrange media when sending re-INVITE with
PJSUA_CALL_REINIT_MEDIA.

Note: See TracTickets for help on using tickets.