Add more adaptation text logs for VideoSendStream.
Tested: Manual tests in app.
Bug: None
Change-Id: I2739a23d37c05cbe1ba9be5c788d1c647265a895
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133186
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27644}
diff --git a/call/video_send_stream.cc b/call/video_send_stream.cc
index 8d3f62c..dde6894 100644
--- a/call/video_send_stream.cc
+++ b/call/video_send_stream.cc
@@ -53,7 +53,15 @@
ss << "target_bps: " << target_media_bitrate_bps << ", ";
ss << "media_bps: " << media_bitrate_bps << ", ";
ss << "suspended: " << (suspended ? "true" : "false") << ", ";
- ss << "bw_adapted: " << (bw_limited_resolution ? "true" : "false");
+ ss << "bw_adapted_res: " << (bw_limited_resolution ? "true" : "false")
+ << ", ";
+ ss << "cpu_adapted_res: " << (cpu_limited_resolution ? "true" : "false")
+ << ", ";
+ ss << "bw_adapted_fps: " << (bw_limited_framerate ? "true" : "false") << ", ";
+ ss << "cpu_adapted_fps: " << (cpu_limited_framerate ? "true" : "false")
+ << ", ";
+ ss << "#cpu_adaptations: " << number_of_cpu_adapt_changes << ", ";
+ ss << "#quality_adaptations: " << number_of_quality_adapt_changes;
ss << '}';
for (const auto& substream : substreams) {
if (!substream.second.is_rtx && !substream.second.is_flexfec) {