Revert 4582 "Reverts a second set of reverts caused by a bug in ..."
> Reverts a second set of reverts caused by a bug in a dependency. > > Revert "Revert r4328" > > Revert "Revert r4322 "Support sending multiple report blocks and keeping track > of statistics on" > > BUG=1811 > R=henrika@webrtc.org, pbos@webrtc.org, tina.legrand@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/2072004 TBR=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2087004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4585 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -76,8 +76,8 @@ class TestRtpFeedback : public NullRtpFeedback {
|
||||
virtual ~TestRtpFeedback() {}
|
||||
|
||||
virtual void OnIncomingSSRCChanged(const int32_t id,
|
||||
const uint32_t ssrc) {
|
||||
rtp_rtcp_->SetRemoteSSRC(ssrc);
|
||||
const uint32_t SSRC) {
|
||||
rtp_rtcp_->SetRemoteSSRC(SSRC);
|
||||
}
|
||||
|
||||
private:
|
||||
@ -334,10 +334,8 @@ TEST_F(RtpRtcpRtcpTest, RTCP) {
|
||||
EXPECT_EQ(static_cast<uint32_t>(0),
|
||||
reportBlockReceived.cumulativeLost);
|
||||
|
||||
StreamStatistician *statistician =
|
||||
receive_statistics2_->GetStatistician(reportBlockReceived.sourceSSRC);
|
||||
StreamStatistician::Statistics stats;
|
||||
EXPECT_TRUE(statistician->GetStatistics(&stats, true));
|
||||
ReceiveStatistics::RtpReceiveStatistics stats;
|
||||
EXPECT_TRUE(receive_statistics2_->Statistics(&stats, true));
|
||||
EXPECT_EQ(0, stats.fraction_lost);
|
||||
EXPECT_EQ((uint32_t)0, stats.cumulative_lost);
|
||||
EXPECT_EQ(test_sequence_number, stats.extended_max_sequence_number);
|
||||
|
||||
Reference in New Issue
Block a user