Ticket #2145 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

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


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

comment:1 Changed 5 months ago by riza

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

In 5878:

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

Note: See TracTickets for help on using tickets.