Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#254 Restarting the jitter buffer thread

Bug Fix
closed-accepted
OPAL (138)
5
2007-09-05
2007-08-28
Borko Jandras
No

When jitter buffer thread is being restarted, currently used frames are discarded. This was done by simply setting oldestFrame, newestFrame and currentWriteFrame members to NULL. Used frames were not returned to the free list, and thus those frames were lost along with memory used for them. The worst case is when all frames were being used, and after restart there were none left for jitter buffer to work with.

This patch returns used frames to the free list before restarting the jitter buffer thread.

Discussion

    • assigned_to: nobody --> csoutheren
    • status: open --> closed-accepted
     
  • Logged In: YES
    user_id=774109
    Originator: NO

    Applied