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}
diff --git a/video/video_stream_encoder.cc b/video/video_stream_encoder.cc
index c3d855c..b23d562 100644
--- a/video/video_stream_encoder.cc
+++ b/video/video_stream_encoder.cc
@@ -2125,7 +2125,8 @@
.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);