Opened 11 years ago

Closed 11 years ago

#1644 closed enhancement (fixed)

Option to switch media session to the latest early media SDP received on forked early media

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

Description

When sending INVITE with media offer and receiving multiple 183 responses (early media) with different To tag, currently PJSIP will only process the first received early media response and discard the other.

There is a report that some system may handover the early media handling after some interval, e.g: from one media gateway to another, by sending another 183 response with different To tag, with different codec and this causes a PJSIP-based endpoint hears silence.

Note that this ticket is not a perfect solution to handle such scenario, for example when the first media gateway keeps sending RTP after the handover, there is still possibility that the stream may switch back to the first media gateway RTP (see also #1366).

Change History (2)

comment:1 Changed 11 years ago by nanang

In 4441:

Re #1644: Added run-time setting 'pjsip_cfg()->follow_early_media_fork' and compile-time setting 'PJSIP_FOLLOW_EARLY_MEDIA_FORK', the default value is PJ_TRUE.

comment:2 Changed 11 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.