Skip to content
  • Mikhail Fludkov's avatar
    rtpjitterbuffer: late packets shouldn't affect PTS of the following packet · ec5fa496
    Mikhail Fludkov authored and Håvard Graff's avatar Håvard Graff committed
    If, say, a rtx-packet arrives really late, this can have a dramatic
    effect on the jitterbuffer clock-skew logic, having it being reset
    and losing track of the current dts-to-pts calculations, directly affecting
    the packets that arrive later.
    
    This is demonstrated in the test, where a RTX packet is pushed in really
    late, and without this patch the last packet will have its PTS affected
    by this, where as a late RTX packet should be redundant information, and
    not affect anything.
    ec5fa496