Ticket #617 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Assertion "Not enough buffer for SDES packet" when using a very low bandwidth codec (thanks William Wong).

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.0-rc2
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:


Output buffer size of stream is calculated based on codec bandwidth, so when a very low bandwidth codec is used, e.g: MELP 2.4kbps, the calculation result will be too small to hold RTCP SR packet containing SDES.

Change History

comment:1 Changed 10 years ago by nanang

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

In r2265: Fixed calculation of output buffer size in stream by adding minimum size limit which is calculated as (size of RTCP SR with SDES + extra 32 bytes).

Note: See TracTickets for help on using tickets.