mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 22:05:39 +00:00
* Adjust for hold time when fowarding RTCP report. When passing through RTCP sender report, holding it for some time before sending means the remote receiver could see varying amount of propagation delay if the remote uses something like local_clock - ntp_sender_report_time and adapting to it. Ideally, SFU should just forward RTCP Sender Report, but the current pull model to group RTCP sender reports makes it a bigger change. So, adjust it by hold time. Also add a initial condition for one-way-delay estimator which can init with a smaller value of latency if the first sample to measure one-way-delay itself experienced higher delay than the prevailing conditions. * variable name * log as duration