Define a threshold which controls catchup mechanism for low latency streaming
Created by: dsilhavy
The goal of this PR is to address the problem described in #3300 (closed) . The idea is to define a threshold for which the low latency catchup mechanism is activated. The threshold can be defined via the Settings object. If no threshold is specified by the user, the default value will be targetLatency * 2.