Skip to content
Snippets Groups Projects
  • Kevin Harwell's avatar
    283c16c6
    abstract/fixed/adpative jitter buffer: disallow frame re-inserts · 283c16c6
    Kevin Harwell authored
    It was possible for a frame to be re-inserted into a jitter buffer after it
    had been removed from it. A case when this happened was if a frame was read
    out of the jitterbuffer, passed to the translation core, and then multiple
    frames were returned from said translation core. Upon multiple frames being
    returned the first is passed on, but sebsequently "chained" frames are put
    back into the read queue. Thus it was possible for a frame to go back into
    the jitter buffer where this would cause problems.
    
    This patch adds a flag to frames that are inserted into the channel's read
    queue after translation. The abstract jitter buffer code then checks for this
    flag and ignores any frames marked as such.
    
    Change-Id: I276c44edc9dcff61e606242f71274265c7779587
    283c16c6
    History
    abstract/fixed/adpative jitter buffer: disallow frame re-inserts
    Kevin Harwell authored
    It was possible for a frame to be re-inserted into a jitter buffer after it
    had been removed from it. A case when this happened was if a frame was read
    out of the jitterbuffer, passed to the translation core, and then multiple
    frames were returned from said translation core. Upon multiple frames being
    returned the first is passed on, but sebsequently "chained" frames are put
    back into the read queue. Thus it was possible for a frame to go back into
    the jitter buffer where this would cause problems.
    
    This patch adds a flag to frames that are inserted into the channel's read
    queue after translation. The abstract jitter buffer code then checks for this
    flag and ignores any frames marked as such.
    
    Change-Id: I276c44edc9dcff61e606242f71274265c7779587