Ticket #1738 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Infinite loop when re-INVITE is received while adding new media

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

Description

Adding new media, for example adding video, will take some time if ICE and STUN are enabled because it needs to wait for STUN resolution to complete. The waiting takes place in pjsua_handle_events() loop in create_ice_media_transport() in pjsua_media.c

If a re-INVITE arrives during this period, it will reset the call media states, thereby preventing the loop above from completing.

Change History

comment:1 Changed 5 years ago by bennylp

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

In 4750:

Fixed #1738: Infinite loop when re-INVITE is received while adding new media

Note: See TracTickets for help on using tickets.