Index: webrtc/video/send_statistics_proxy.cc |
diff --git a/webrtc/video/send_statistics_proxy.cc b/webrtc/video/send_statistics_proxy.cc |
index cf3332cfaf44da137edf8cebf543776dc1d06a0e..dacc204e724bab2b3a154f769feff0d5a0c72b8e 100644 |
--- a/webrtc/video/send_statistics_proxy.cc |
+++ b/webrtc/video/send_statistics_proxy.cc |
@@ -342,16 +342,13 @@ void SendStatisticsProxy::SetContentType( |
} |
} |
-void SendStatisticsProxy::OnEncoderImplementationName( |
- const char* implementation_name) { |
- rtc::CritScope lock(&crit_); |
- stats_.encoder_implementation_name = implementation_name; |
-} |
- |
-void SendStatisticsProxy::OnOutgoingRate(uint32_t framerate, uint32_t bitrate) { |
+void SendStatisticsProxy::OnEncoderStatsUpdate(uint32_t framerate, |
+ uint32_t bitrate, |
+ std::string&& encoder_name) { |
rtc::CritScope lock(&crit_); |
stats_.encode_frame_rate = framerate; |
stats_.media_bitrate_bps = bitrate; |
+ stats_.encoder_implementation_name = encoder_name; |
} |
void SendStatisticsProxy::OnEncodedFrameTimeMeasured( |