From c800c1cc4080275f81ea5378d2edeaad04564bc0 Mon Sep 17 00:00:00 2001 From: "buildbot@webrtc.org" Date: Fri, 13 Jun 2014 07:56:17 +0000 Subject: [PATCH] (Auto)update libjingle 69131548-> 69132244 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6426 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/statscollector.cc | 4 ++++ talk/app/webrtc/statstypes.h | 1 + talk/media/base/mediachannel.h | 2 ++ talk/media/webrtc/webrtcvideoengine.cc | 1 + 4 files changed, 8 insertions(+) diff --git a/talk/app/webrtc/statscollector.cc b/talk/app/webrtc/statscollector.cc index 75ca36608..67d64fbe8 100644 --- a/talk/app/webrtc/statscollector.cc +++ b/talk/app/webrtc/statscollector.cc @@ -88,6 +88,8 @@ const char StatsReport::kStatsValueNameEchoReturnLoss[] = const char StatsReport::kStatsValueNameEchoReturnLossEnhancement[] = "googEchoCancellationReturnLossEnhancement"; +const char StatsReport::kStatsValueNameEncodeRelStdDev[] = + "googEncodeRelStdDev"; const char StatsReport::kStatsValueNameEncodeUsagePercent[] = "googEncodeUsagePercent"; const char StatsReport::kStatsValueNameExpandRate[] = "googExpandRate"; @@ -427,6 +429,8 @@ void ExtractStats(const cricket::VideoSenderInfo& info, StatsReport* report) { info.capture_queue_delay_ms_per_s); report->AddValue(StatsReport::kStatsValueNameEncodeUsagePercent, info.encode_usage_percent); + report->AddValue(StatsReport::kStatsValueNameEncodeRelStdDev, + info.encode_rsd); } void ExtractStats(const cricket::BandwidthEstimationInfo& info, diff --git a/talk/app/webrtc/statstypes.h b/talk/app/webrtc/statstypes.h index e471dc9e5..22e281cf7 100644 --- a/talk/app/webrtc/statstypes.h +++ b/talk/app/webrtc/statstypes.h @@ -133,6 +133,7 @@ class StatsReport { // Internal StatsValue names static const char kStatsValueNameAvgEncodeMs[]; + static const char kStatsValueNameEncodeRelStdDev[]; static const char kStatsValueNameEncodeUsagePercent[]; static const char kStatsValueNameCaptureJitterMs[]; static const char kStatsValueNameCaptureQueueDelayMsPerS[]; diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h index 35948b62f..078c07316 100644 --- a/talk/media/base/mediachannel.h +++ b/talk/media/base/mediachannel.h @@ -870,6 +870,7 @@ struct VideoSenderInfo : public MediaSenderInfo { capture_jitter_ms(0), avg_encode_ms(0), encode_usage_percent(0), + encode_rsd(0), capture_queue_delay_ms_per_s(0) { } @@ -890,6 +891,7 @@ struct VideoSenderInfo : public MediaSenderInfo { int capture_jitter_ms; int avg_encode_ms; int encode_usage_percent; + int encode_rsd; int capture_queue_delay_ms_per_s; VariableInfo adapt_frame_drops; VariableInfo effects_frame_drops; diff --git a/talk/media/webrtc/webrtcvideoengine.cc b/talk/media/webrtc/webrtcvideoengine.cc index 64435787e..eeff90fc5 100644 --- a/talk/media/webrtc/webrtcvideoengine.cc +++ b/talk/media/webrtc/webrtcvideoengine.cc @@ -2494,6 +2494,7 @@ bool WebRtcVideoMediaChannel::GetStats(const StatsOptions& options, sinfo.capture_jitter_ms = metrics.capture_jitter_ms; sinfo.avg_encode_ms = metrics.avg_encode_time_ms; sinfo.encode_usage_percent = metrics.encode_usage_percent; + sinfo.encode_rsd = metrics.encode_rsd; sinfo.capture_queue_delay_ms_per_s = metrics.capture_queue_delay_ms_per_s; #else sinfo.capture_jitter_ms = -1;