Changes between Version 3 and Version 4 of JBuf_Spec
- Timestamp:
- Apr 1, 2009 10:04:27 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBuf_Spec
v3 v4 34 34 A 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: 35 35 - 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. 37 38 38 39 An 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.