Changes between Version 3 and Version 10 of Ticket #438


Ignore:
Timestamp:
Feb 29, 2008 5:23:10 PM (11 years ago)
Author:
bennylp
Comment:

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 
    13Most 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. 
    24 
     
    810This 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. 
    911 
     12 
     13'''Audio drifts:''' 
     14 
     15Local audio device drifts would cause clicking noise as underflow and overflow occurs. 
     16