Changes between Initial Version and Version 1 of JBuf_Spec


Ignore:
Timestamp:
Apr 1, 2009 9:53:27 AM (13 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JBuf_Spec

    v1 v1  
     1{{{ 
     2#!html 
     3<!-- MAIN TABLE START --> 
     4<table border=0 width="90%" align="center"><tr><td> 
     5}}} 
     6 
     7= Jitter Buffer Specification = 
     8 
     9'''Table of Contents''' 
     10[[PageOutline(2-3,,inline)]] 
     11 
     12This short article describes the specification for the jitter buffer. 
     13 
     14[[BR]] 
     15 
     16== Specifications == 
     17 
     18=== Continuous flow === 
     19 
     20The main function of a jitter buffer is to ensure that it's user receive as continuous as possible flow of incoming frames regardless of the jitter in the incoming packet arrival time. The jitter buffer MUST provide this function. 
     21 
     22=== Adaptive to jitter change === 
     23 
     24The jitter buffer MUST be able to adapt to change in network jitter, increasing or decreasing the prefetch value as necessary. 
     25 
     26=== Low latency === 
     27 
     28The jitter buffer MUST attempt to provide the minimum buffering possible on the incoming packet (without sacrificing the continuous flow requirement above), to minimize latency. 
     29 
     30=== Duplicate/old frame === 
     31 
     32The jitter buffer MUST be able to detect the arrival of duplicate or old frame. 
     33 
     34A 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 - 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. 
     37 
     38An 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. 
     39 
     40 
     41=== Non octet-aligned === 
     42 
     43The jitter buffer MUST be able to store frames that are not octet/byte aligned. 
     44 
     45=== Sequence number jump/restart === 
     46 
     47The jitter buffer MUST be able to detect large jump in sequence number and restart it's state. 
     48 
     49=== DTX === 
     50 
     51The jitter buffer MUST be able to handle discontinuous transmission (DTX) without triggering restart. Note that user MAY use RTP timestamp or sequence number as frame sequence number of the jitter buffer frames, hence DTX MAY or MAY NOT be reflected with a jump in the frame sequence number. 
     52 
     53 
     54 
     55{{{ 
     56#!html 
     57<!-- MAIN TABLE END --> 
     58</td></tr></table> 
     59}}} 
     60