Index: webrtc/video/send_statistics_proxy.cc |
diff --git a/webrtc/video/send_statistics_proxy.cc b/webrtc/video/send_statistics_proxy.cc |
index bab495df80c4b0e52f325c7c426ea694af3657f9..00dd7bf7d12525a0435ce9b40eda8faa57a8558f 100644 |
--- a/webrtc/video/send_statistics_proxy.cc |
+++ b/webrtc/video/send_statistics_proxy.cc |
@@ -539,6 +539,10 @@ VideoSendStream::Stats SendStatisticsProxy::GetStats() { |
PurgeOldStats(); |
stats_.input_frame_rate = |
round(uma_container_->input_frame_rate_tracker_.ComputeRate()); |
+ stats_.content_type = |
+ content_type_ == VideoEncoderConfig::ContentType::kRealtimeVideo |
+ ? VideoContentType::UNSPECIFIED |
+ : VideoContentType::SCREENSHARE; |
return stats_; |
} |