| Index: webrtc/video/send_statistics_proxy.cc
|
| diff --git a/webrtc/video/send_statistics_proxy.cc b/webrtc/video/send_statistics_proxy.cc
|
| index d8c11a8c3588ee061bfcca9189fe531709f6f066..abaa43800543ad29c7ef749848d0f1aa33954e4a 100644
|
| --- a/webrtc/video/send_statistics_proxy.cc
|
| +++ b/webrtc/video/send_statistics_proxy.cc
|
| @@ -513,6 +513,11 @@ void SendStatisticsProxy::OnSendEncodedImage(
|
| static_cast<int>(encoded_image._encodedHeight));
|
| }
|
|
|
| +int SendStatisticsProxy::GetSendFrameRate() const {
|
| + rtc::CritScope lock(&crit_);
|
| + return stats_.encode_frame_rate;
|
| +}
|
| +
|
| void SendStatisticsProxy::OnIncomingFrame(int width, int height) {
|
| rtc::CritScope lock(&crit_);
|
| uma_container_->input_frame_rate_tracker_.AddSamples(1);
|
|
|