Ignore:
Timestamp:
Jan 20, 2010 1:02:37 AM (12 years ago)
Author:
nanang
Message:

Ticket #969:

  • implemented progressive discard algorithm, discard rate is calculated from ratio of effective size to effective burst level.
  • updated jbuf to clarify prefetch and burst level distinction, previously they are stored in same var, i.e: prefetch, while the semantic is actually different.
  • updated STABLE_HISTORY_LIMIT in jbuf, it is now 20 (was 100), to adjust burst level faster.
  • added test case of periodic-spike-burst-case in jbtest.dat for testing the new algorithm.
  • updated stream to limit the rate of jbuf empty/lost log messages, it will only log first empty/lost event, then log again once jbuf returning normal frame (also counter of previous empty/lost frames).
  • minor updates on jbuf.c: variable names, logs, added burst to jbuf state.
  • minor updates on jbuf_test.c: handle comment in test session header, seq jump is now 20 (was 5000).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/jbuf.h

    r2844 r3065  
    7777 
    7878    /* Status */ 
     79    unsigned    burst;              /**< Current burst level, in frames     */ 
    7980    unsigned    prefetch;           /**< Current prefetch value, in frames  */ 
    8081    unsigned    size;               /**< Current buffer size, in frames.    */ 
Note: See TracChangeset for help on using the changeset viewer.