[feat] update rtp packet history module

This commit is contained in:
dijunkun
2025-02-17 17:05:45 +08:00
parent 1ef7c536f1
commit 71b9c78dd5
23 changed files with 174 additions and 46 deletions

View File

@@ -331,6 +331,13 @@ bool IceTransport::HandleNack(const webrtc::rtcp::CommonHeader &rtcp_block,
// rtcp_packet_info->nack.emplace(std::move(nack));
// }
// int64_t rtt = rtt_ms();
// if (rtt == 0) {
// if (std::optional<TimeDelta> average_rtt = rtcp_receiver_.AverageRtt()) {
// rtt = average_rtt->ms();
// }
// }
LOG_INFO("Nack [{}]", nack.packet_ids().size());
return true;