Changes between Version 5 and Version 6 of JBuf_Spec
- Timestamp:
- Feb 10, 2023 10:43:02 AM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBuf_Spec
v5 v6 58 58 }}} 59 59 At this point, the target time is 2000 + (8000 * 3/99) = 2242ms or discard rate is {{{target-time / overflow}}} = 2242 / 7 = 320 ms per frame. So the jitter buffer will discard a frame with timestamp 320ms (or frame to be played 320ms later). 60 Few notes: 60 61 Few additional notes: 61 62 - If the frame with that timestamp is not available in the jitter buffer yet, the calculation will be done again later. If the burst level is changed when the calculation is redone, the frame to discard may be changed too (no longer frame with timestamp 320ms). 62 - If the scheduled frame timestamp is lower than {{{PJMEDIA_JBUF_DISC_MIN_GAP}}} (i.e: 200ms), the jitter buffer will use {{{PJMEDIA_JBUF_DISC_MIN_GAP}}} instead, so the discard rate will not be faster than be faster than{{{PJMEDIA_JBUF_DISC_MIN_GAP}}}.63 - If the scheduled frame timestamp is lower than {{{PJMEDIA_JBUF_DISC_MIN_GAP}}} (i.e: 200ms), the jitter buffer will use {{{PJMEDIA_JBUF_DISC_MIN_GAP}}} instead, so the discard rate will not be faster than {{{PJMEDIA_JBUF_DISC_MIN_GAP}}}. 63 64 64 65 ==== Static discard ====