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}
This commit is contained in:

committed by
Commit Bot

parent
7d204d5ce9
commit
d0298f4b16
@ -53,7 +53,15 @@ 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: " << (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) {
|
||||
|
Reference in New Issue
Block a user