Ticket #532 (closed enhancement: wontfix)

Opened 10 years ago

Last modified 8 months ago

Avoid truncated calculation of samples per frame on some 'odd' clock rates.

Reported by: nanang Owned by: nanang
Priority: normal Milestone: Known-Issues-and-Ideas
Component: pjmedia Version: trunk
Keywords: Cc: Fan-Cheng, Wu
Backport to 1.x milestone: Backported: no


Sample cases:

  1. On clock rate 11025, when ptime is set to 10ms, number of samples per frame will be 110.25 which will be truncated to 110.
  2. When a port, which works on clock rate 11025Hz ptime 40ms (which is safe from truncation), is added to a conference bridge that works on clock rate 16000Hz ptime 10ms, the conference will need to resample a frame of 10ms from the port, which can cause truncation.

This may also happen in clock rate 22050Hz.

Change History

comment:1 Changed 10 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:2 Changed 8 months ago by nanang

  • Cc Fan-Cheng, Wu added; Fan-Cheng Wu removed
  • Status changed from new to closed
  • Resolution set to wontfix
  • Backported unset

TeluuCon? 2018: only applicable to PCM

Note: See TracTickets for help on using tickets.