Changes between Version 3 and Version 10 of Ticket #438
- Timestamp:
- Feb 29, 2008 5:23:10 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #438
- Property Status changed from assigned to new
- Property Summary changed from Workaround for frame bursts from audio devices to Workaround for frame bursts and drifts from audio devices
- Property Priority changed from normal to critical
- Property Owner changed from bennylp to nanang
-
Ticket #438 – Description
v3 v10 1 '''Audio burst:''' 2 1 3 Most audio devices will call record and playback callbacks in burst, rather than in perfect interleave (for example, burst of record callbacks, followed by burst of playback callbacks, and so on). Because of this, audio buffering needs to be implemented in few pjmedia components (conference bridge, splitcomb, echo canceller, etc.), and the maximum buffering is controlled by {{{PJMEDIA_SOUND_BUFFER_COUNT}}} macro. 2 4 … … 8 10 This ticket attempts to fix this problem by fixing the burst in sound device port. The idea is sound device port will apply a fixed delay to buffer the burst, like a fixed jitter buffer (and the delay will be detected at run-time) and will call the get_frame() and put_frame() callback in a perfect interleave. Then the rest of PJMEDIA components can just use 1 frame for buffering. 9 11 12 13 '''Audio drifts:''' 14 15 Local audio device drifts would cause clicking noise as underflow and overflow occurs. 16