(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:
parent
16395228f5
commit
ffe2620c97
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user