Small TransportFeedbackAdapterTest efficiency boost and TODO resolved
BUG=None Review-Url: https://codereview.webrtc.org/2726853002 Cr-Commit-Position: refs/heads/master@{#16950}
This commit is contained in:
parent
380119af1e
commit
f7c26d40ab
@ -99,10 +99,7 @@ class TransportFeedbackAdapterTest : public ::testing::Test {
|
||||
}
|
||||
}
|
||||
|
||||
// Utility method, to reset arrival_time_ms before adding send time.
|
||||
void OnSentPacket(PacketInfo info) {
|
||||
info.arrival_time_ms = 0;
|
||||
// TODO(philipel): Change -1, -1 to some values.
|
||||
void OnSentPacket(const PacketInfo& info) {
|
||||
adapter_->AddPacket(info.sequence_number, info.payload_size,
|
||||
info.pacing_info);
|
||||
adapter_->OnSentPacket(info.sequence_number, info.send_time_ms);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user