[fix] fix padding packets building

This commit is contained in:
dijunkun
2025-03-17 10:28:58 +08:00
parent bd65d87137
commit 5c598be51d
4 changed files with 18 additions and 15 deletions

View File

@@ -412,7 +412,6 @@ void PacingController::ProcessPackets() {
PacedPacketInfo pacing_info;
DataSize recommended_probe_size = DataSize::Zero();
bool is_probing = prober_.is_probing();
LOG_WARN("is probing");
if (is_probing) {
// Probe timing is sensitive, and handled explicitly by BitrateProber, so
// use actual send time rather than target.
@@ -474,7 +473,7 @@ void PacingController::ProcessPackets() {
transport_overhead_per_packet_;
}
LOG_ERROR("Send packet_size {}", rtp_packet->Size());
// LOG_ERROR("Send packet_size {}", rtp_packet->Size());
packet_sender_->SendPacket(std::move(rtp_packet), pacing_info);
for (auto& packet : packet_sender_->FetchFec()) {
EnqueuePacket(std::move(packet));