Skip to content

Commit

Permalink
cosmetic to respect original syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Apr 24, 2020
1 parent 016c2fb commit 1c19088
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ std::vector<PacketFeedback> TransportFeedbackAdapter::GetPacketFeedbackVector(
current_offset_ms_ +=
mediasoup_helpers::FeedbackRtpTransport::GetBaseDeltaUs(&feedback, last_timestamp_us_) / 1000;
}

last_timestamp_us_ =
mediasoup_helpers::FeedbackRtpTransport::GetBaseTimeUs(&feedback);

Expand Down Expand Up @@ -216,7 +215,6 @@ std::vector<PacketFeedback> TransportFeedbackAdapter::GetPacketFeedbackVector(
// Handle this iteration's received packet.
offset_us += packet.delta_us();
timestamp_ms = current_offset_ms_ + (offset_us / 1000);

PacketFeedback packet_feedback(timestamp_ms, packet.sequence_number());
if (!send_time_history_.GetFeedback(&packet_feedback, true))
++failed_lookups;
Expand All @@ -234,7 +232,6 @@ std::vector<PacketFeedback> TransportFeedbackAdapter::GetPacketFeedbackVector(
(failed_lookups > 1 ? "s" : ""));
}
}

return packet_feedback_vector;
}

Expand Down

0 comments on commit 1c19088

Please sign in to comment.