Log frame NTP timestamp in VideoEncoder::AugmentEncodedImage

allowing for better correlation with MaybeEncodeVideoFrame
which also logs the ntp timestamp.

BUG=None

Change-Id: I00fc99e69cd703f6da3f25043361d68b3cb3f3fa
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/311542
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40415}
This commit is contained in:
Philipp Hancke 2023-07-10 12:34:18 +02:00 committed by WebRTC LUCI CQ
parent 32457632a6
commit dfe026ce08

View File

@ -2125,7 +2125,8 @@ EncodedImage VideoStreamEncoder::AugmentEncodedImage(
.Parse(codec_type, stream_idx, image_copy.data(), image_copy.size())
.value_or(-1);
}
RTC_LOG(LS_VERBOSE) << __func__ << " stream_idx " << stream_idx << " qp "
RTC_LOG(LS_VERBOSE) << __func__ << " ntp time " << encoded_image.NtpTimeMs()
<< " stream_idx " << stream_idx << " qp "
<< image_copy.qp_;
image_copy.SetAtTargetQuality(codec_type == kVideoCodecVP8 &&
image_copy.qp_ <= kVp8SteadyStateQpThreshold);