Opened 14 years ago
Last modified 14 years ago
#1189 closed defect
Click noise produced by the jitter buffer when it progressively discard audio frames to improve latency (thanks Bogdan Krakowski for the patch) — at Initial Version
Reported by: | bennylp | Owned by: | nanang |
---|---|---|---|
Priority: | normal | Milestone: | release-1.10 |
Component: | pjmedia | Version: | trunk |
Keywords: | PROGRESSIVE_DISCARD | Cc: | |
Backport to 1.x milestone: | Backported: |
Description
The jitter buffer has an algorithm to discard few frames to improve latency when its contents are exceeding certain limit. This algorithm is called progressive discard and is enabled by default.
Unfortunately, this discard operation causes click noise to be produced, since the PCM wave signal of the next frame is no longer aligned with the previous frame.
This patch proposes dropping the next frame after the discarded frame, to cause invocation of the PLC, which would produce smoother wave signal than the original algorithm.