Changes between Version 3 and Version 4 of JBuf_Spec


Ignore:
Timestamp:
Apr 1, 2009 10:04:27 AM (10 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JBuf_Spec

    v3 v4  
    3434A duplicate frame is a frame which has the same frame number of an existing frame in it's buffer. In this case, the handling depends on the value of ''discarded'' argument in {{{pjmedia_jbuf_put_frame2()}}} function: 
    3535 - if non-zero (TRUE), jitter buffer MUST ignore the duplicate frame and set the ''discarded'' argument of {{{pjmedia_jbuf_put_frame2()}}}. 
    36  - if FALSE, the jitter buffer will override the old frame with this newer frame. 
     36 - if FALSE, the jitter buffer will override the old frame with this newer frame, and set the ''discarded'' argument of {{{pjmedia_jbuf_put_frame2()}}} to FALSE. 
     37 - if NULL, then FALSE is assumed. 
    3738 
    3839An old frame is a frame which sequence number is older than what is currently "played" (returned by the jitter buffer to it's user). Old frame is always discarded, and ''discarded'' argument of {{{pjmedia_jbuf_put_frame2()}}} function will be set.