Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1640)

Unified Diff: webrtc/video/send_statistics_proxy.cc

Issue 1900193004: Remove VCMPacketizationCallback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed offline comments. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d39389995efc213975530a83d329f794bc75574e 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::OnOutgoingRate(uint32_t framerate,
stefan-webrtc 2016/04/26 08:51:58 Is there a better name for this method now that it
perkj_webrtc 2016/04/27 09:01:24 Done.
+ 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(

Powered by Google App Engine
This is Rietveld 408576698