[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;

View File

@@ -7,13 +7,13 @@
#ifndef _ICE_TRANSPORT_CONTROLLER_H_
#define _ICE_TRANSPORT_CONTROLLER_H_
#include "api/clock/clock.h"
#include "api/transport/network_types.h"
#include "api/units/timestamp.h"
#include "audio_channel_receive.h"
#include "audio_channel_send.h"
#include "audio_decoder.h"
#include "audio_encoder.h"
#include "clock.h"
#include "congestion_control.h"
#include "congestion_control_feedback.h"
#include "data_channel_receive.h"