Skip to content
  • Havard Graff's avatar
    rtpjitterbuffer: fix bug in reschedule_timer · bea35f97
    Havard Graff authored
    The new timeout is always going to be (timeout + delay), however, the
    old behavior compared the current timeout to just (timeout), basically
    being (delay) off.
    
    This would happen if rtx-delay == rtx-retry-timeout, with the result that
    a second rtx attempt for any buffers would be scheduled immediately instead
    of after rtx-delay ms.
    
    Simply calculate (new_timeout = timeout + delay) and then use that instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773905
    bea35f97