(Auto)update libjingle 63352036-> 63363208

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5731 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2014-03-19 22:20:10 +00:00
parent 16395228f5
commit ffe2620c97
2 changed files with 7 additions and 0 deletions

View File

@ -279,6 +279,8 @@ void ExtractStats(const cricket::VoiceSenderInfo& info, StatsReport* report) {
info.bytes_sent); info.bytes_sent);
report->AddValue(StatsReport::kStatsValueNamePacketsSent, report->AddValue(StatsReport::kStatsValueNamePacketsSent,
info.packets_sent); info.packets_sent);
report->AddValue(StatsReport::kStatsValueNamePacketsLost,
info.packets_lost);
report->AddValue(StatsReport::kStatsValueNameJitterReceived, report->AddValue(StatsReport::kStatsValueNameJitterReceived,
info.jitter_ms); info.jitter_ms);
report->AddValue(StatsReport::kStatsValueNameRtt, info.rtt_ms); report->AddValue(StatsReport::kStatsValueNameRtt, info.rtt_ms);
@ -343,6 +345,8 @@ void ExtractStats(const cricket::VideoSenderInfo& info, StatsReport* report) {
info.bytes_sent); info.bytes_sent);
report->AddValue(StatsReport::kStatsValueNamePacketsSent, report->AddValue(StatsReport::kStatsValueNamePacketsSent,
info.packets_sent); info.packets_sent);
report->AddValue(StatsReport::kStatsValueNamePacketsLost,
info.packets_lost);
report->AddValue(StatsReport::kStatsValueNameFirsReceived, report->AddValue(StatsReport::kStatsValueNameFirsReceived,
info.firs_rcvd); info.firs_rcvd);

View File

@ -275,6 +275,9 @@ void VerifyVoiceSenderInfoReport(const StatsReport* report,
EXPECT_TRUE(GetValue( EXPECT_TRUE(GetValue(
report, StatsReport::kStatsValueNamePacketsSent, &value_in_report)); report, StatsReport::kStatsValueNamePacketsSent, &value_in_report));
EXPECT_EQ(talk_base::ToString<int>(sinfo.packets_sent), value_in_report); EXPECT_EQ(talk_base::ToString<int>(sinfo.packets_sent), value_in_report);
EXPECT_TRUE(GetValue(
report, StatsReport::kStatsValueNamePacketsLost, &value_in_report));
EXPECT_EQ(talk_base::ToString<int>(sinfo.packets_lost), value_in_report);
EXPECT_TRUE(GetValue( EXPECT_TRUE(GetValue(
report, StatsReport::kStatsValueNameRtt, &value_in_report)); report, StatsReport::kStatsValueNameRtt, &value_in_report));
EXPECT_EQ(talk_base::ToString<int>(sinfo.rtt_ms), value_in_report); EXPECT_EQ(talk_base::ToString<int>(sinfo.rtt_ms), value_in_report);