From 034f1916b5fedba6ab35c496080d06bf0c06ef44 Mon Sep 17 00:00:00 2001 From: Rasmus Brandt Date: Tue, 16 Apr 2019 14:46:49 +0000 Subject: [PATCH] Revert "Add more adaptation text logs for VideoSendStream." This reverts commit d0298f4b161fe2afd4c6b334da31218c115a7eeb. Reason for revert: This change makes the text output for three simulcast layers dangerously close to 1024 characters. Will reland with a larger value. Original change's description: > 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 > Commit-Queue: Rasmus Brandt > Cr-Commit-Position: refs/heads/master@{#27644} TBR=brandtr@webrtc.org,nisse@webrtc.org Change-Id: Ic6c0c863f6e4aba12feb6c6938db2930396c32f4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133204 Reviewed-by: Rasmus Brandt Commit-Queue: Rasmus Brandt Cr-Commit-Position: refs/heads/master@{#27647} --- call/video_send_stream.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/call/video_send_stream.cc b/call/video_send_stream.cc index dde68944f2..8d3f62cb1f 100644 --- a/call/video_send_stream.cc +++ b/call/video_send_stream.cc @@ -53,15 +53,7 @@ std::string VideoSendStream::Stats::ToString(int64_t time_ms) const { ss << "target_bps: " << target_media_bitrate_bps << ", "; ss << "media_bps: " << media_bitrate_bps << ", "; ss << "suspended: " << (suspended ? "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 << "bw_adapted: " << (bw_limited_resolution ? "true" : "false"); ss << '}'; for (const auto& substream : substreams) { if (!substream.second.is_rtx && !substream.second.is_flexfec) {