Home
last modified time | relevance | path

Searched refs:bwe_receiver_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_unittest.cc133 BweReceiverTest() : bwe_receiver_(kFlowId) {} in BweReceiverTest()
138 BweReceiver bwe_receiver_; member in webrtc::testing::bwe::BweReceiverTest
142 EXPECT_EQ(bwe_receiver_.RecentKbps(), static_cast<size_t>(0)); in TEST_F()
154 bwe_receiver_.ReceivePacket(kArrivalTimeMs, media_packet); in TEST_F()
158 EXPECT_NEAR(bwe_receiver_.RecentKbps(), kReceivingRateKbps, in TEST_F()
173 bwe_receiver_.ReceivePacket(arrival_time_ms, media_packet); in TEST_F()
177 EXPECT_NEAR(bwe_receiver_.RecentKbps(), kReceivingRateKbps, in TEST_F()
182 EXPECT_EQ(bwe_receiver_.RecentPacketLossRatio(), 0.0f); in TEST_F()
187 bwe_receiver_.ReceivePacket(0, media_packet); in TEST_F()
188 EXPECT_EQ(bwe_receiver_.RecentPacketLossRatio(), 0.0f); in TEST_F()
[all …]
Dpacket_receiver.cc34 bwe_receiver_(CreateBweReceiver(bwe_type, flow_id, plot_bwe)), in PacketReceiver()
105 bwe_receiver_->ReceivePacket(arrival_time_ms, *media_packet); in RunFor()
106 FeedbackPacket* fb = bwe_receiver_->GetFeedback(arrival_time_ms); in RunFor()
122 metric_recorder_->UpdateThroughput(bwe_receiver_->RecentKbps(), payload_size); in UpdateMetrics()
124 metric_recorder_->UpdateLoss(bwe_receiver_->RecentPacketLossRatio()); in UpdateMetrics()
139 return bwe_receiver_->GlobalReceiverPacketLossRatio(); in GlobalPacketLoss()
Dpacket_receiver.h56 rtc::scoped_ptr<BweReceiver> bwe_receiver_; variable