Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1378 closed defect (fixed)

Change jitter buffer progressive discard algorithm

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

Description (last modified by nanang)

Issues with current algorithm:

  • Precision issue in discard rate calculation in JB progressive discard. When jb-size/delay equal to burst-level, jb frame discard should not occur (delay in JB is expected to be always equal or less than burst-level). But with current calculation, the JB will still discard some frames because of bad precision in discard rate calculation.
  • The discard rates were predefined and hardcoded based on excessive latency, this may not suit well for some environments. So, there is an idea to calculate discard rate dynamically based on parameters such as actual burst level, excessive latency, aggressiveness setting.

Change History (3)

comment:1 Changed 8 years ago by nanang

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

(In [3779]) Fix #1378: replaced discard rate decision based on overflow precentage (precentage of excess delay compared to burst-level).

comment:2 Changed 8 years ago by nanang

  • Description modified (diff)
  • Summary changed from Precision issue in discard rate calculation in JB progressive discard to Change jitter buffer progressive discard algorithm

comment:3 Changed 8 years ago by nanang

(In [3814]) Re #1378:

  • Implemented new algorithm for JB progressive discard.
  • Added new API and for setting JB discard algorithm at run-time.
  • Updated JB test for the new algorithm.
Note: See TracTickets for help on using tickets.