Skip to content

rtpgccbwe: Add increasing_duration and counter to existing gst::log!()

Martin Nordholts requested to merge martn/gst-plugins-rs:gcc-logging into main

Add self.increasing_duration and self.increasing_counter to logs to provide more details of why overuse_filter() determines overuse of network.

To get access to the latest values of those fields we need to move down the log call. But that is fine, since no other logged data is modified between the old and new location of gst::log!().

We do not bother logging self.last_overuse_estimate since that is simply the previously logged value of estimate. We must put the log call before we write the latest value to it though, in case we want to log it in the future.

Merge request reports

Loading